mobiusRingSdf

mobiusRingSdf

Keywords:
  • mobius
  • ring
  • twist
sdf
mobiusRingSdf
RayTK
v0.42

SDF for a squared mobius ring, which is like a rectangular bar twisted and then bent into a ring.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Moves the center of the ring.

Runtime Baked
Radius

The radius of the ring as a whole.

Runtime Baked
Thickness

The thickness of the ring.

Runtime Baked
Rounding

The amount of rounding applied to the edges of the ring.

Runtime Baked
Twist

The number of times to twist the ring. Fractional numbers will create a discontinuity in the ring where it starts/ends.

Runtime Baked
Twist Phase

Shift applied to the twisting of the ring.

Runtime Baked
Axis Runtime Semi-Baked
  • X:
  • Y:
  • Z:

Inputs

  • Thickness Field: (optional) Value field that can be used to vary the thickness of the ring.
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: angle normangle
  • Radius Field: (optional) Value field that can be used to vary the radius of the ring.
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: angle normangle
    • Supports Variables From Inputs: thicknessField

Variables

  • Angle (0-360):
  • Normalized Angle (0-1):