Torus

Torus icon

In: SDF function > Primitive

Description

An SDF function for a torus, which is a shape formed by sweeping a minor circle along a major circle.Both circles have adjustable radiuses.

Inputs

Inputs

Radius major Float
The radius of the circle along which the minor disc is swept to form the surface of the torus.

Default: 0.5
Radius minor Float
The radius of the circle being swept along the major circle to form the surface of the torus.

Default: 0.2
Center position Float3
The world space position of the pivot of the torus.

Default: (0, 0, 0)
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