[–] AHOHA 3y ago ↗ Interesting, is there the opposite? Where I add the mesh and it will generate the function for me? [–] frading 3y ago ↗ you can generate an SDF from a mesh with Polygonjs ( https://polygonjs.com ). Here is an example scene ( https://polygonjs.com/examples/bynode:mat:raymarchingbuilder... ).It won't generate a function, though. Instead it creates a 3D texture which is used inside the raymarching material. In my experience this is much more performant, and also art-directable.(disclaimer, I'm building Polygonjs)
[–] frading 3y ago ↗ you can generate an SDF from a mesh with Polygonjs ( https://polygonjs.com ). Here is an example scene ( https://polygonjs.com/examples/bynode:mat:raymarchingbuilder... ).It won't generate a function, though. Instead it creates a 3D texture which is used inside the raymarching material. In my experience this is much more performant, and also art-directable.(disclaimer, I'm building Polygonjs)
2 comments
[ 6.6 ms ] story [ 13.4 ms ] threadIt won't generate a function, though. Instead it creates a 3D texture which is used inside the raymarching material. In my experience this is much more performant, and also art-directable.
(disclaimer, I'm building Polygonjs)