radialClone
Keywords:
- clone
- copy
- radial
- repeat
filter
radialClone
RayTK
v0.42
Repeats an SDF radially around an axis, combining the resulting shapes.
Note that this runs its input multiple times, which can lead to performance issues.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Axis | The axis around which to rotate the copies. | Semi-Baked | Semi-Baked |
| |||
Count | The number of copies. The performance cost of the input is multiplied by this number. | Runtime | Baked |
Angle Range | The angle spread around the axis, where the copies are distributed. | Runtime | Baked |
Angle Offset | Shifts the angle of the first copy around the axis. | Runtime | Baked |
Radius Offset | Offsets the copies towards/away from the axis. At zero, all copies will be centered on the axis. | Runtime | Baked |
Merge Type | How to merge the copies. | Semi-Baked | Semi-Baked |
| |||
Merge Radius | The amount of smoothing to apply when merging copies. | ||
Iteration Type | Whether and how to expose iteration values to upstream operators. | Semi-Baked | Semi-Baked |
| |||
Rotate Mode | Whether the copies should be rotated or just positioned in a ring in their original orientation. | Semi-Baked | Semi-Baked |
| |||
Merge Number | |||
Merge Offset | |||
Inputs
-
SDF: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
Sdf - Supports Variables:
indexnormindexrotaccumnormrotaccum
- Coordinate Types:
-
Radial Offset Field: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
indexnormindexrotaccumnormrotaccum
- Coordinate Types:
-
Angle Offset Field: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
indexnormindexrotaccumnormrotaccum
- Coordinate Types:
-
Blend Radius Field: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
indexnormindexrotaccumnormrotaccum
- Coordinate Types:
Variables
-
Index: -
Normalized Index (0..1): -
Rotation (Accumulated) (0..360): -
Normalized Rotation (Accumulated) (0..1):