Marching Cubes is a classic algorithm for turning voxel data into a smooth surface mesh.
It evaluates density values at the corners of each cube and uses a lookup table to determine triangle placement.
Despite its age, the algorithm is still widely used for terrain, fluids, and volumetric effects.