
solidAngleSdf
Keywords:
- cone
- pie
- slice
- wedge
sdf
solidAngleSdf
RayTK
v0.36
A conical slice of a sphere.
Similar to coneSdf
but with the base rounded.
Parameters
-
Translate
: Moves the tip of the shape. -
Angle
: The angle width of the slice. -
Radius
: The radius of the sphere that the shape is based one, equivalent to the distance from the tip to the base.
Inputs
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Angle Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types: