SDF Primitive Nodes
Signed Distance Field primitive shapes including boxes, spheres, cylinders, and tori for creating 3D spatial effects.
SDF Primitive Nodes
Signed Distance Field primitive shapes including boxes, spheres, cylinders, and tori for creating 3D spatial effects.
This category contains 22 nodes.
Nodes
Box Frame SDF
Signed distance field for a hollow box frame
Inputs: Position, size, frame thickness.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Size | Vector | vec:≥0 | [0.5, 0.5, 0.5] |
| Frame Thickness | Number | ≥0 | 0.1 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Box SDF
Signed distance field for an axis-aligned box
Inputs: Position, size (half-extents in each dimension).
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Size | Vector | vec:≥0 | [0.25, 0.25, 0.25] |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Capped Torus SDF
Signed distance field for a torus section/cap
Inputs: Position, major radius, minor radius, angle.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Major Radius | Number | any | 0.5 |
| Minor Radius | Number | any | 0.1 |
| Angle (radians) | Number | any | 1.5708 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Capsule SDF
Signed distance field for a capsule (line segment with radius)
Inputs: Position, point A, point B, radius.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 1 |
| Radius | Number | any | 0.25 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Cone SDF
Signed distance field for a cone
Inputs: Position, angle (cone aperture), height.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 1 |
| Base Radius | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Cylinder SDF
Signed distance field for an infinite cylinder along Y-axis
Inputs: Position, radius.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 1 |
| Radius | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Ellipsoid SDF
Signed distance field for an ellipsoid
Inputs: Position, radii (x, y, z semi-axes).
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Radius | Vector | vec | [0.5, 0.3, 0.2] |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Gyroid SDF
Signed distance field for a gyroid (periodic minimal surface)
Inputs: Position, thickness, scale.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Thickness | Number | any | 0.2 |
| Scale | Number | any | 6.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Hexagonal Prism SDF
Signed distance field for a hexagonal prism
Inputs: Position, height, radius.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 0.5 |
| Radius | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Icosahedron SDF
Signed distance field for an icosahedron (20-sided polyhedron)
Inputs: Position, size.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Size | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Julia Set SDF
Signed distance field for a 3D Julia set fractal
Inputs: Position, iterations, constant C.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| C Parameter | Vector | vec | [-0.4, 0.6, 0, 0] |
| Iterations | Number | any | 8 |
| Bailout | Number | any | 2 |
Outputs: Signed distance estimate.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Octahedron SDF
Signed distance field for an octahedron (8-sided polyhedron)
Inputs: Position, size.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Size | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Plane SDF
Signed distance field for an infinite plane
Inputs: Position, normal vector, distance from origin.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Normal | Vector | vec | [0, 1, 0] |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Pyramid SDF
Signed distance field for a pyramid
Inputs: Position, height.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 1 |
| Base Size | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Rhombus SDF
Signed distance field for a rhombus/diamond shape
Inputs: Position, dimensions.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Dimensions | Vector | vec | [0.5, 0.5, 0.5] |
| Sharpness | Number | any | 0.1 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Round Box SDF
Signed distance field for a box with rounded edges
Inputs: Position, size, corner radius.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Size | Vector | vec:≥0 | [0.5, 0.5, 0.5] |
| Corner Radius | Number | ≥0 | 0.1 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Rounded Cone SDF
Signed distance field for a cone with rounded base
Inputs: Position, radius1, radius2, height.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 1 |
| Base Radius | Number | any | 0.5 |
| Top Radius | Number | any | 0.1 |
| Roundness | Number | any | 0.1 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Rounded Cylinder SDF
Signed distance field for a cylinder with rounded caps
Inputs: Position, radius, height.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 1 |
| Radius | Number | any | 0.5 |
| Roundness | Number | any | 0.1 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Sphere SDF
Signed distance field for a sphere
Inputs: Position (3D point), radius.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Radius | Number | any | 0.5 |
Outputs: Signed distance (negative inside, 0 at surface, positive outside).
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Tetrahedron SDF
Signed distance field for a tetrahedron (4-sided polyhedron)
Inputs: Position, size.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Size | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Torus SDF
Signed distance field for a torus (donut shape)
Inputs: Position, major radius (from center to tube center), minor radius (tube thickness).
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Major Radius | Number | any | 0.5 |
| Minor Radius | Number | any | 0.1 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |
Triangular Prism SDF
Signed distance field for a triangular prism
Inputs: Position, height, width.
| Name | Type | Range | Default |
|---|---|---|---|
| Position | Vector | vec | [0, 0, 0] |
| Height | Number | any | 0.5 |
| Radius | Number | any | 0.5 |
Outputs: Signed distance.
| Name | Type | Range |
|---|---|---|
| Signed Distance | Number | sdf |