Being doing some research into how to get the terrain right. I'd like to be able to dig down and build up to get the most out of the game. This is hard to do with traditional 3D terrain as the terrain is usually one big polygon so each modification requires calculating new vertexes which is tricky. Voxel based terrains draw everything out of "voxels" ( think 3D pixel ) so that individual voxels can be removed to achieve the desired effect. Therefore voxels is wot we needs .
Found a great little scene manager for Ogre which does what I need by representing voxels with a mesh so we get the performance of a mesh but with the ability to modify. Tis a bit rough round the edges but I think I can hack life out of it. The guys code seems pretty good and he's a nice bloke.. which should help.
Tuesday, 11 December 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment