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

cylinderSdf

Keywords:
  • column
  • cylinder
  • pipe

SDF for a cylinder.

Parameters

  • Translate: Shifts the center of the cylinder.
  • Radius: The radius of the cylinder.
  • Height: The height of the cylinder, along the selected axis.
  • Axis:
    • X:
    • Y:
    • Z:
  • Infinite Height:
  • Hollow:
  • Thickness:

Inputs

  • Radius Field: (optional) Optional field used to control the radius of the cylinder. If it uses 1D coordinates, it is given the position along the axis. For 3D coordinates, it is given the raw position.
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Height Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Thickness Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float

Variables

  • axispos:
  • normoffset:
  • normangle: