Triangulation of SDFs to efficiently transfer SDFs into BufferGeometry.
All primitives are generated with the functions ported from GLSL to PHP or JavaScript as SDF. A slightly modified triangulation algorithm (original according to E. Hartmann, see https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf page 81 ) is then applied to these SDFs.
Both versions of the tool generate SDF geometries based on a number of primitives and operations.
Online version at SDFGeometry Server (A bit slow on my very inexpensive rental server.)
Local version of the SDF geometry generator is published on GitHub
under a license that permits private use and use for educational purposes,
but not commercial use. ==>> See GitHub for details.
The available SDF primitives and operations with their parameters see
https://hofk.de/SDFGeometry/Generation_of_SDFGeometry_EN.pdf
There are also many examples with JSON input.
Additional json files: https://hofk.de/SDFGeometry/examples.zip
The geometries can be downloaded as three.js BufferGeometry definitions or GLTF meshes.
Examples:
used: triangulation sequence >>>>>