Generates an isosurface from a voxel grid using marching cubes