r/VoxelEngineDev • • Sep 26 '26

Question Sharp edges in editable SDF terrain -- practical alternatives to Marching Cubes / Transvoxel?

/r/proceduralgeneration/comments/1wqumwh/sharp_edges_in_editable_sdf_terrain_practical/
3 Upvotes

6 comments sorted by

4

u/zesterer Sep 26 '26

You want dual contouring, it's best in class for extremely precise mesh extraction that preserves surface gradients.

2

u/Haltont Sep 26 '26

Yeah, DC is definitely looking like the first thing I should prototype now.

1

u/jgage Sep 27 '26

There was a paper presented at SIGGRAPH this year that allows you to calculate better normals from SDF data without exact Hermite data. https://gatc.cs.columbia.edu/projects/dual-contouring-of-signed-distance-data.html

1

u/jgage Sep 27 '26

And it looks like you already know about that paper.

1

u/Haltont Sep 27 '26

Yep, that's the one I found on arXiv. I'm planning to put it into the same benchmark against Transvoxel and the other DC variants

1

u/jgage Sep 27 '26

QEF and surface nets can be mostly performant. Especially if you can know when to not need to do QEF. If you’re doing SDF you can calculate the normals for QEF just by looking at the gradient of the SDF at the sample point of the edge.