Skip to main content Link Menu Expand (external link) Document Search Copy Copied

chopField

Field that provides values from a CHOP.

Parameters

  • Coord Type:
    • 1D:
    • 2D:
    • 3D:
  • Return Type:
    • Float:
    • Vector:
  • Context Type:
    • Context:
    • Material Context:
    • Camera Context:
    • Light Context:
    • Ray Context:
  • Axis: Which axis to use to determine the position in the CHOP to use.
    • 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.
    • 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
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float