mirrorOctant
filter
mirrorOctant
RayTK
v0.42
Mirror coordinates across two axes and the diagonals.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Axis | Axis that faces the plane where coordinates are mirrored. | Semi-Baked | Semi-Baked |
| |||
Size | Spacing of the reflection planes. | Runtime | Baked |
Offset | Shifts the input before applying reflection. | Runtime | Baked |
Rotate Axis | Rotates the input before applying reflection. | Runtime | Baked |
Iterateoncells | Enables upstream operators to check which cell in the reflection grid a point is in. | ||
Iteration Type | Semi-Baked | Semi-Baked | |
| |||
Inputs
-
definition_in: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4SdfVolumeRayLightParticle - Supports Variables:
indexsign
- Coordinate Types:
-
Rotate Axis Field: (optional) Value field used to vary the `Rotateaxis`. If the field is a 1D field, it is given the distance from the center. If it is a 2D field, it is given the position along the mirror axes. If it is a 3D field, it is given the raw position. The value is converted to radians and *added* to the `Rotateaxis` parameter.- Coordinate Types:
floatvec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatSdf - Supports Variables:
indexsign
- Coordinate Types:
-
Offset Field: (optional)- Coordinate Types:
floatvec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables:
indexsign - Supports Variables From Inputs:
rotateField
- Coordinate Types:
Variables
-
Quadrant Index (0..3): -
Signed XY Axes (-1, 1):