Twist (inexact)

Twist (inexact) icon

In: SDF function > Transform

Description

Twist an SDF shape around its local Z axis between a start and end point, at an adjustable 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 twist.
Start Float
The world position on the Z axis where the twisting starts. All the volume beneath is not twisted.
End Float
The world position on the Z axis where the twisting 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