PDA

View Full Version : Marching Cube Algorithm



Thom
02-01-2001, 04:37 AM
Sorry this is not directly OpenGL related... but does anyone know where I can find some Marching Cube sample code for isosurface extraction, preferably in C or C++.

Thanks

Thom

BwB
02-01-2001, 05:33 AM
I believe that theres an really good example in Graphics Gems III. It might be one of the others though. You can download the source for the graphics gems books online also, I dont recall which FTP server to get it from, but I'm sure you can find a link somewhere.

Bob
02-01-2001, 05:49 AM
http://www.swin.edu.au/astronomy/pbourke/modelling/polygonise/

The only place you need. Easy sourcecode included.

Thom
02-01-2001, 07:01 AM
Very helpful. Thanks guys,

Thom

Relic
02-01-2001, 07:11 AM
Have a look into this thread for a cleaner method to calculate the normals: http://www.opengl.org/discussion_boards/ubb/Forum3/HTML/000672.html