SDF · Sphere
Signed distance function for a sphere:
d(p) = |p - center| - radius
Negative inside, positive outside, zero on the surface.
Node
Interactive preview is available in the interactive reader.
Sockets
center (in)- Vector3. Optional override for the sphere origin.
radius (in)- Float. Optional radius override.
sdf (out)- SDF — feed into an SDF combine node or Marching Cubes.
Parameters
Center- Sphere origin. Default: [0, 0, 0].
Radius- Sphere radius in world units. Default: 10.