Marching cubes

Implemented an algorithm that is called “Marching cubes” to triangulate the fractal data generated by my fractal caverns projekt. The result is shown below. A bit hard to get the idea of how it will look like when it is finished, but you might get the idea.

marching_cubes

I am not entirely happy with the normals, and there is a few details in the mesh that looks like bugs in the algorithm… Will have to look at that…

Leave a comment

Your comment