
discSdf
sdf
discSdf
RayTK
v0.36
A flat disc facing the Y axis.
Because the disc is infinitely thin, it will only appear as a line when viewed from the side.
Parameters
-
Translate
: Shifts the center of the disc. -
Radius
: The radius of the disc. -
Axis
:-
X
: -
Y
: -
Z
:
-
-
Thickness
:
Inputs
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
Variables
-
angle
: -
normangle
: -
normaxisdist
: