helixSdf

helixSdf

Keywords:
  • coil
  • helix
  • spiral

SDF for a helix (an elongated spiral).

Parameters

  • :
  • Axis:
    • X:
    • Y:
    • Z:
  • Translate:
  • Radius:
  • Thickness:
  • Spread:
  • Dual Spread:
  • Reverse:

Inputs

  • Thickness Field: (optional) Field used to multiply the `Radius` parameter. If it uses 1D coordinates, it is provided the position along the axis. If it uses 3D coordinates, it uses the absolute position.
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Radius Field: (optional) Field used to multiply the `Thickness` parameter. If it uses 1D coordinates, it is provided the position along the axis. If it uses 3D coordinates, it uses the absolute position.
    • Coordinate Types: float vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Spread Field: (optional)
    • Coordinate Types: float vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Cross Section Shape: (optional)
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float Sdf

Variables

  • axisoffset:
  • angle:
  • normangle: