quadTreeRepeat

quadTreeRepeat

beta
filter
quadTreeRepeat
RayTK
v0.42

Repeats space in a 2d grid where some cells are subdivided into smaller cells recursively.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Axis

Axis that the grid plane faces.

Semi-Baked Semi-Baked
  • YZ:
  • ZX:
  • XY:
Division

Number of steps of subdividing.

Runtime Baked
Level 1 Chance

Likelyhood of a cell getting one level of subdivision.

Runtime Baked
Level 2 Chance

Likelyhood of a sub-divided cell getting another level of subdivision.

Runtime Baked
Offset

Moves the contents within each repeated cell.

Runtime Baked
Shift

Move the entire arrangement of cells.

Runtime Baked
Enable Rescale

Whether to apply uniform scaling within each cell so that the contents fit the size of the cell.

Semi-Baked Semi-Baked
Iteration Type

How to expose the cell information as iteration values for upstream operators to use.

Semi-Baked Semi-Baked
  • None:
  • Cell Id (xy) & Layer (z):
Seed

Seed number used as the basis of the randomization.

Runtime Baked

Inputs

  • definition_in: (required) Main input which appears within each cell.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
    • Supports Variables: cell layer
    • Supports Variables From Inputs: offsetField shiftField
  • Shift Field: (required) Field that controls the shifting of the overall grid layout.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
  • Offset Field: (required) Field that controls the offsetting of the contents within each cell.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
    • Supports Variables: cell layer
    • Supports Variables From Inputs: shiftField

Variables

  • Cell ID Hash (XY):
  • Layer Index: