Marching cubes is a computer graphics algorithm, published in the 1987 SIGGRAPH proceedings by Lorensen and Cline for extracting a polygonal mesh of an isosurface from a three-dimensional discrete scalar field (the elements of which are sometimes called voxels)

- Wikipedia

My approach on marching cubes was inspired by Sebastian Lague. Even though he explain the algorithm very well in the following video, I looked up the paper Wikipedia mentioned and started an implementation of my own.

Binaries of this implementation can be downloaded below