moduloToroidal
beta
Keywords:
- torus
filter
moduloToroidal
RayTK
v0.42
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 |
| |||
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 |
| |||
Inputs
-
definition_in: (required)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4SdfVolumeRayLightParticle - Supports Variables:
cellnormcellanglenormangleinneranglenorminnerangle - Supports Variables From Inputs:
repetitionsFieldradiusFieldthicknessFieldshiftField
- Coordinate Types:
-
Repetitions Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables:
anglenormangle
- Coordinate Types:
-
Radius Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
anglenormanglecellnormcell - Supports Variables From Inputs:
repetitionsField
- Coordinate Types:
-
Thickness Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
anglenormanglecellnormcell - Supports Variables From Inputs:
repetitionsFieldradiusField
- Coordinate Types:
-
Shift Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables:
anglenormanglecellnormcell - Supports Variables From Inputs:
repetitionsFieldradiusFieldthicknessField
- Coordinate Types:
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):