Thanks for your replies guys, much appreciated!
Yes, I need a system that can add vertices. I do have an idea though.
- Create terrain (with heightmap) - easy
- Have a shape (let say a sphere) that functions as a digging, or cutting, tool.
- A hole get cut in the terrain mesh (size of the shape)
- new vertices will fill the hole in the shape of the cutting tool.
- The new "hole"-mesh will be added to the terrain mesh
- Repeat this process to dig tunnels, etc.
What do you think of this approach?
Edit:
I've know about voxels and understand that they can be smooth as well as blocks.
I've found an example for blocks:
http://forum.thegamecreators.com/?m=forum_view&t=187219&b=1
The idea for my game is that I create terrains for planets, thus spherical... Any suggestions?
Regards Sph!nx
www.mental-image.net