MetaPlayground
Description
The goal of this project was to implement marching cubes, GLUI and output the extracted surface as a mesh file. This was accomplished using OpenGL, the Marching Cubes Algorithm, GLUT and GLUI. Currently, the user is able
create Metaballs (spheres) and then using the GLUI – change the voxelization density, light color, scale, rotate and translate the spheres.
Project Details
The first attempt to implement marching cubes was a complete failure due to the way the threshold values were calculated. The new method pre computes the iso value at each vertex before drawing the surface. Each surface on the canvas is represented by a center, radius and associated implicit equation.
References
Paul Rademacher’s GLUI Tutorials