moduloToroidal

moduloToroidal

beta
Keywords:
  • torus

Repeats space as rows and columns of a torus-shaped grid.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Axis

Axis that the torus is around.

Semi-Baked Semi-Baked
  • X:
  • Y:
  • Z:
Radius

Primary radius of the torus around the main axis.

Runtime Baked
Thickness

Thickness of the torus.

Runtime Baked
Repetitions

Number of rows and columns across the torus.

Runtime Baked
Shift

Shifts the repetitions across the rows and columns of the torus.

Runtime Baked
Mirror Type

Flips alternating repetitions so they mirror each other.

Semi-Baked Semi-Baked
  • None:
  • Rows:
  • Columns:
  • Grid:

Inputs

  • definition_in: (required)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
    • Supports Variables: cell normcell angle normangle innerangle norminnerangle
    • Supports Variables From Inputs: repetitionsField radiusField thicknessField shiftField
  • Repetitions Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables: angle normangle
  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: angle normangle cell normcell
    • Supports Variables From Inputs: repetitionsField
  • Thickness Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: angle normangle cell normcell
    • Supports Variables From Inputs: repetitionsField radiusField
  • Shift Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables: angle normangle cell normcell
    • Supports Variables From Inputs: repetitionsField radiusField thicknessField

Variables

  • Cell (Row, Col):
  • Normalized Cell (Row, Col) (0..1):
  • Angle (0-360):
  • Normalized Angle (0-1):
  • Inner Angle (0-360):
  • Normalized Inner Angle (0..1):