Page 1 of 1

Marching Cubes/Voxel World

Posted: Sun Dec 06, 2015 12:51 pm
by sudi
Some time ago i created a simple Marching Cube/Voxel world creator with irrlicht. I actually wanted to turn it into a game but didnt have the time anymore. So i am releasing the source code.
Unfortunatly the code is based on a framework written by me and I am not sure if it still compiles with the newest irrlicht version. Thats why I am not releasing it at this point because I dont have time to answer questions that might come up.

The Marching Cubes code is independet from the demo application and can be plugged into a simple project.

Bitbucket: MagicWorld
Videos: Youtube Playlist

Re: Marching Cubes/Voxel World

Posted: Mon Dec 07, 2015 12:53 am
by Mel
Those vids look awesome! :D

Definitely, Irrlicht could use some voxel primitive creation :)

Re: Marching Cubes/Voxel World

Posted: Sat Jan 02, 2016 8:32 pm
by Vectrotek
Beautiful! Did you use "PolyVox"?

Re: Marching Cubes/Voxel World

Posted: Sat Feb 20, 2016 12:04 pm
by sudi
No, my own creation.

Re: Marching Cubes/Voxel World

Posted: Sun Jun 26, 2016 4:48 am
by christianclavet
Since Irrlicht doesnt use instancing, this should get slow very fast?

Re: Marching Cubes/Voxel World

Posted: Mon Jun 27, 2016 12:52 am
by Cube_
instancing voxels actually gets really slow really fast - presumably it pages chunks of voxel data in/out and runs mesh optimization algorithms on the resulting output so as to reduce memory and rendering overhead.

Re: Marching Cubes/Voxel World

Posted: Mon Jun 27, 2016 1:46 am
by christianclavet
Wow! I just missed something incredible in your video! At the end the geometry is being smoothed. Are the vertices are welded? (voxel to voxel) when you smooth it? Really impressive! That's something I've not even seen in BAW! :)