Simplest possible smooth contouring algorithm
wordsandbuttons.online
wordsandbuttons.online
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.
for(x...)
for(y...)
for(z...) {
...
}
I believe that code should at least attempt to be literate, and this just makes me shake my head in frustration.This is being literate (evaluating over a space of three dimensions) rather than literal (of nested loops).