4 ms·
There are no vertices in the code. Everything is done with CSG functions. If you are unfamiliar with them, let's just say that they are functions describing if
by userbinator 8y ago
There are no vertices in the code. Everything is done with CSG functions. If you are unfamiliar with them, let's just say that they are functions describing if a coordinate is inside or outside an object.
I believe this technique was first popularised in the demoscene, because it makes for some extremely concise procedural descriptions of 3D scenes:
https://iquilezles.org/www/articles/distfunctions/distfunctions.htm https://iquilezles.org/www/articles/distfunctions/distfuncti...
- EvanAnderson 8y agoThe POVray ray tracer uses CSG in its scene descriptions as well. CSG is a really neat way to visualize objects mentally, too.