isosurface
Extract an isosurface from a 3D scalar volume.
Syntax
Section titled “Syntax”[h] = isosurface(V, isoval)[f, v] = isosurface(V, isoval)Description
Section titled “Description”Computes the surface where V = isoval in a 3D scalar volume (marching-cubes algorithm) and renders it. With multiple outputs, returns the face/vertex data without drawing.
Example
Section titled “Example”isosurface(peaks_3d, 0.5)