marchingcubes

A library by Andre Sier for the Processing programming environment.
Last update, 12/21/2012.

Marching cubes implementation after Paul Bourke polygonize voxel.

See also ofxMarchingCubes, for openframeworks


/*			 
    marching cubes implementation by andre sier in processing, 2010
        http://s373.net/code/marchingcubes/
    adapted code from paul bourke's polygonizing a scalar field (marching cubes),
        http://paulbourke.net/geometry/polygonise/ 
    stl export code adapted from marius watz, 
         http://workshop.evolutionzone.com/unlekkerlib/
*/

*
 
	 oF marching cubes implementation by andre sier
	 http://s373.net/code/marchingcubes/
	 
	 Marching cubes implementation after Paul Bourke polygonize voxel.
	 http://paulbourke.net/geometry/polygonise/ 
	 
	 201207 - of version
	 201004 - processing version
	 
	 code released under  http://www.gnu.org/licenses/lgpl-3.0.txt
	 copyright 2012, Andre Sier
	 http://s373.net
	 
 
 */


Download

Download marchingcubes version 0.1.0 (10) in .zip format.

Installation

Unzip and put the extracted marchingcubes folder into the libraries folder of your Processing sketches. Reference and examples are included in the marchingcubes folder.

Keywords. Marching Cubes, Polygonizing, Scalar Field, Voxel, 3D, Data, Fabrication, Simulation.

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of marchingcubes is available at GitHub, and its repository can be browsed here.

Examples

Find a list of examples in the current distribution of marchingcubes, or have a look at them by following the links below.

Tested

Platform osx,windows, linux
Processing 1.5, 2.0
Dependencies none