2 ms·
Very interesting, and I like the interactive graphics. I've been looking at this problem recently with an eye towards what it looks like to translate scene des
by andrewla 8y ago
Very interesting, and I like the interactive graphics. I've been looking at this problem recently with an eye towards what it looks like to translate scene descriptions from an SDF (signed distance function) representation of a CSG (constructive solid geometry) scene to a triangular-mesh representation. I've looked at marching cubes, which has another page on this site that is linked from this page, but it seems kind of inelegant.
The obvious problem with this method is that it relies in the underlying object being smooth, and many CSG designs have cusps and other non-smooth artifacts that are very hard to derive from an abstract representation because the SDF is not well-behaved around those regions.
- okaleniuk 8y agoTry dual contouring. It preserves sharp features from the box. When combined with octrees, it's much more effective than the simple thing. https://www.cse.wustl.edu/~taoju/research/dualContour.pdf https://www.cse.wustl.edu/~taoju/research/dualContour.pdf