View Full Version : Marching Cube Algorithm
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
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.
http://www.swin.edu.au/astronomy/pbourke/modelling/polygonise/
The only place you need. Easy sourcecode included.
Very helpful. Thanks guys,
Thom
Relic
02-01-2001, 06: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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.