Isosurface extraction using marching cubes.