Please note, there is “Scale by Radius gives zero?!” frame. If I enable multiply node inside this frame, the SDF spline thickness will scale to zero. A viewer node reveals that Radius values are non-zero. I am not sure what is going on here.
Do you have an idea how to access curve radius inside Spline SDF frame?
Looking at a mesh first, we could define a field which offsets whole mesh in normal direction:
With a regular math-Add node we get a similar offset field for SDF. We just add a constant value to a SDF. It does act close to our “Normal Offset” from above.
Thank you for your positive feedback, Silex.
I love about SDF that they give max freedom from topology. Textures could help to get rid of artificial look of SDF’s.
Another attempt for a “Mesh to SDF” which ‘knows’ the difference from inside-mesh and outside-mesh.
Leonard, I am trying to morph between two meshes, but I am new in GN. Is it possible to get your file and try to find out how you did it? For example, I see you have a group node, but I am unsure how to generate it. Where do you input your two meshes?
The first mesh is taken from the modifier-group’s Geometry input. The second mesh
is taken from the ‘Target’ input. You can set Target in the modifier stack.
Inspecting your solution. It is close. But look a bit closer at the Mix function. Actually, we blend the SDFs, not the vectors used to generate the SDF.