chopField

field
chopField
RayTK
v0.39

Field that provides values from a CHOP.

Parameters

Name Description Regular Handling Read-Only Handling
Coord Type
  • Auto:
  • 1D:
  • 2D:
  • 3D:
Return Type
  • Float:
  • Vector:
Contexttype
Axis

Which axis to use to determine the position in the CHOP to use.

Runtime Semi-Baked
  • X:
  • Y:
  • Z:
Translate

Offsets the coordinate value. This is applied before the “Extend Mode”.

Scale

Scales the coordinate value. This is applied before the “Extend Mode”.

CHOP
Extend Mode

How to handle coordinates outside the 0..1 range.

Baked Baked
  • Hold: Clamp the coordinates to the 0..1 range.
  • Zero: Return zero outside of the 0..1 range.
  • Repeat: Repeat coordinates outside the 0..1 range.
  • Mirror: Repeat coordinates outside the 0..1 range, mirrored back and forth.
Coord Mode
  • Position:
  • Index (Texel):
  • Scaled Index:
  • Auto-Scaled Index:
Index Range

Inputs

  • Coordinate Field: (optional) If connected, this field is used to determine what position in the CHOP to use at each point.
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float