Skip to content

Fast and light-weight Marching Cubes library in C++ without any dependencies.

Notifications You must be signed in to change notification settings

Magnus2/MeshReconstruction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeshReconstruction

This is a small library that can reconstruct a triangle mesh from a signed distance function using the Marching Cubes algorithm and export it to a file in the obj format.

The library is self-contained and has no dependencies. The library is fast due to precomputed lookup tables and a narrow-band approach which excludes a lot of marching cubes that are far away from the surface.

The library requires C++14 and has been tested under Visual Studio 2017 and Windows 10 but should port to other systems without major problems.

The library can be used under the terms of the MIT License.

Overview