sbrl / Minetest-WorldEditAdditions

Extra tools and commands to extend WorldEdit for Minetest
https://worldeditadditions.mooncarrot.space/
Mozilla Public License 2.0
16 stars 3 forks source link

Merge new //erode command #22

Closed sbrl closed 4 years ago

sbrl commented 4 years ago

For #19. I'm not completely happy with the snowballs algorithm (primarily due to it's tendency to sometimes generate deep 1x1 holes), but it seems to function well enough that we can merge it. Perhaps a second opinion is just what we need.

On a separate note, I would like to implement a 3d algorithm at some point too. Perhaps a wind-based algorithm perhaps?

Maybe we could have a system where a given node type is considered an emitter, and we emit wind particles that float around which we simulate instead of snowballs. Each wind particle would be given a random initial starting position (that's inside a random emitter node) and 3D velocity vector, and we'd move from there. I'm unsure as to how it would interact with surfaces though.

Thoughts are welcome :-)