[][src]Module splashsurf_lib::marching_cubes

Triangulation of DensityMaps using marching cubes

Modules

marching_cubes_lut

Classic marching cubes cases. There are 256 possible combinations of the above/below iso-surface states for the 8 vertices of a cube. The following lookup table maps each combination to the corresponding triangulation.

Functions

triangulate_density_map

Performs a marching cubes triangulation of a density map on the given background grid

triangulate_density_map_append

Performs a marching cubes triangulation of a density map on the given background grid, appends triangles to the given mesh