Lib.field.generate.sdf.TorusSDF - tixl3d/tixl GitHub Wiki

TorusSDF

in Lib.field.generate.sdf


Generates a procedural torus field which can be rendered with [RaymarchField] and visualized with [VisualizeFieldDistance]. Also known as: Donut SDF

For a simple and interactive tutorial on the TiXL rendering pipeline, see [HowToRaymarchField].

It can be modified with [BendField] , [TransformField] , [PolarRepeat] and more.

Similar nodes: [BoxSDF], [ChainLinkSDF], [FractalSDF].

To use a Mesh made of polygons refer to [TorusMesh].


Input Parameters

Name (Relevancy & Type) Description
Center (Vector3) Transforms the center of the object
Size (Vector2) Defines the size and thickness of the Torus
X = ring size
Y = ring thickness
Axis (Int32) Defines the axis along which the field is aligned

Outputs

Name Type
Result T3.Core.DataTypes.ShaderGraphNode

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️