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

polyhedronSdf

Parameters

  • Type:
  • U:
  • V:
  • W:
  • Radius:
  • Enable Faces:
  • Face Radius:
  • Enable Segments:
  • Segment Radius:
  • Segment Size:
  • Enable Vertices:
  • Vertex Radius:
  • Vertex Size:
  • Combine:
    • Simple Union:
    • Simple Intersect:
    • Simple Difference:
    • Smooth Union:
    • Smooth Intersect:
    • Smooth Difference:
    • Round Union:
    • Round Intersect:
    • Round Difference:
    • Chamfer Union:
    • Chamfer Intersect:
    • Chamfer Difference:
    • Stair Union:
    • Stair Intersect:
    • Stair Difference:
    • Column Union:
    • Column Intersect:
    • Column Difference:
  • Blend Radius:
  • Blend Number:
  • Blend Offset:
  • UVW Field:
  • Face Radius Field:
  • Segment Radius Field:
  • Segment Size Field:
  • Vertex Radius Field:
  • Vertex Size Field:

Inputs

  • Vertex Shape: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: Sdf
  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • faceRadiusField: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • segmentRadiusField: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • segmentSizeField: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • vertexRadiusField: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • vertexSizeField: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • uvwField: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: vec4