Bend (inexact)

Bend (inexact) icon

In: SDF function > Transform

Description

Bends an SDF shape around its local Y axis between a start and end point at an angle.

Note:Since this transformation function is inexact, artefacts might appear when rendering it.

Inputs

Inputs

SDF Float
The input SDF shape.
Angle Float
The angle, in turns, of the rotation applied at the end of the bend.
Start Float
The world position on the Z axis where the bending starts. All the volume beneath is not bent.
End Float
The world position on the Z axis where the bending ends. All the volume above is uniformly rotated at the specified angle.
P Float3
The transformed world space position. Use this input to apply additional transformations using the Offset P and Rotate P nodes.

Default: The untransformed world space position.
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23