MetaPlayground – an Isosurface and Marching Cubes Demo

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 to 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 Bourke’s Site

Paul Rademacher’s GLUI Tutorials

MetaPlayground Demo

[kml_flashembed publishmethod="static" fversion="8.0.0" movie="http://ericosgood.com/wp-content/uploads/2011/03/playground_demo.swf" width="1024" height="768" targetclass="flashmovie"]

Get Adobe Flash player

[/kml_flashembed]

Opening the “.m” File from the last video in a Mesh Parsing Program

[kml_flashembed publishmethod="static" fversion="8.0.0" movie="http://ericosgood.com/wp-content/uploads/2011/03/mesh_output_demo.swf" width="1024" height="768" targetclass="flashmovie"]

Get Adobe Flash player

[/kml_flashembed]

Leave a Comment

Filed under Computer Graphics

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Spam protection by WP Captcha-Free