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

CappedTorusSDF

in Lib.field.generate.sdf


Generates a procedural torus field which can be capped (with rounded edges). It can be rendered with [RaymarchField] and visualized with [VisualizeFieldDistance]. Also known as Cube 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
Fill (Single) Defines which part of the torus is capped.
0.930 = the torus is completely capped
3.218 = the torus is uncapped
Radius (Single) Defines the size of the ring
Thickness (Single) Defines the thickness of the ring

Outputs

Name Type
Result T3.Core.DataTypes.ShaderGraphNode

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

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