radialClone

radialClone

Keywords:
  • clone
  • copy
  • radial
  • repeat

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
  • X:
  • Y:
  • Z:
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
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
  • Simple XOR:
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
  • None: Pass along whatever is provided by the next op after this one.
  • Clone Index: Use the copy index (from 0 to `Count`-1) as the x iteration value.
Rotate Mode

Whether the copies should be rotated or just positioned in a ring in their original orientation.

Semi-Baked Semi-Baked
  • Position and Rotation:
  • Position Only:
Merge Number
Merge Offset

Inputs

  • SDF: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf
    • Supports Variables: index normindex rotaccum normrotaccum
  • Radial Offset Field: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: index normindex rotaccum normrotaccum
  • Angle Offset Field: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: index normindex rotaccum normrotaccum
  • Blend Radius Field: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: index normindex rotaccum normrotaccum

Variables

  • Index:
  • Normalized Index (0..1):
  • Rotation (Accumulated) (0..360):
  • Normalized Rotation (Accumulated) (0..1):