octahedronSdf

octahedronSdf

Keywords:
  • octahedron
  • polyhedron
sdf
octahedronSdf
RayTK
v0.36

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