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

octahedronSdf

Keywords:
  • octahedron
  • polyhedron

An octahedron, with its corners facing the axes.

Parameters

  • Translate: Shifts the center of the shape.
  • Radius: The size of the shape.
  • Function: Advanced parameter that chooses between different types of calculations.
    • Exact: Provides more accuracy but can produce roughness around the edges.
    • Bound (Not Exact): Less accurate but less rough around the edges.

Inputs

  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float