OEMakeSurfaceFromGrid¶
bool OEMakeSurfaceFromGrid(OESurface &surf, const OESystem::OESkewGrid &grid,
float contour)
bool OEMakeSurfaceFromGrid(OESurface &surf,
const OESystem::OEFixedGrid<float> &grid,
float contour)
bool OEMakeSurfaceFromGrid(OESurface &surf,
const OESystem::OEFixedGrid<float> &grid,
float contour, float resolution)
An implementation of the marching cubes algorithm to create
a surface, surf
, through the values in the grid, grid
. Grid
points with values less than contour are inside the surface and the
converse is true for grid points outside the surface.
See also
The Grids section for more information on converting grids to surfaces.