
torusSdf
Keywords:
- donut
- ring
- torus
sdf
torusSdf
RayTK
v0.36
SDF for a torus.
Parameters
-
Axis
:-
X
: -
Y
: -
Z
:
-
-
Radius
: -
Thickness
: -
Translate
: -
Enable Caps
: -
Angle Width
: -
Angle Offset
: -
UV Mode
:-
None
: -
Torus
:
-
Inputs
-
Angle Width Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Angle Offset Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
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
: