This demo calculates a sampled distance field and uses the marching cube algorithm to extract a 2-manifold triangle mesh of an isocontour given a certain threshold. Programmed using C++ and OpenGL.
This is useful for simplifying a complicated model or to generate a tetrahedral volume out of a non-manifold initial mesh. In the video, the approximation of the original shape of the horse model is interesting considering the missing polygons.
An improvement would be to add an edge decimation algorithm to remove all the smaller polygons.
Hardware : Macbook Pro 2.8 Ghz Nvidia GeForce 9600M GT