Using Planar Constructive Solid Geometry instead of Voxels

Is this the right link for the isosurfaces? IsoSurface Demo - Dev blog experiment… (released)

It seems to be a marching cubes implementation, if I’m reading it correctly. The images look quite lumpy, as expected of marching cubes.

One particular solution to the slope issue is very appealing, but converting it into a mesh is challenging. First we create a horizontal polygon to define the horizontal boundaries of the slope, then we put smaller polygons inside the first polygon and define the elevation of each of these small polygons. The small polygons can be rendered directly as bits of floor at their assigned elevations, but the trick comes in the spaces between the small polygons where we will interpolate the elevation of each point based on its distance from the small polygons. This should make creating slopes as quick and intuitive as they can possibly be.

In order to turn this into a mesh, it will be important to construct a contour map of the slope. In other words, we want curves of constant elevation, and then we can create the mesh by connecting the curves at regular intervals. If the slope we’re creating is actually a stairway, then the contour lines can become the steps.

Are there any recommendations for an algorithm to find contour lines in this situation? Surely we can’t use marching squares, because that would create a lumpy grid-based result and we want a smooth slope.