
cylinderSdf
Keywords:
- column
- cylinder
- pipe
sdf
cylinderSdf
RayTK
v0.36
SDF for a cylinder.
Parameters
-
Translate
: Shifts the center of the cylinder. -
Radius
: The radius of the cylinder. -
Height
: The height of the cylinder, along the selected axis. -
Axis
:-
X
: -
Y
: -
Z
:
-
-
Infinite Height
: -
Hollow
: -
Thickness
:
Inputs
-
Height Field
: (optional) Optional field used to control the radius of the cylinder. If it uses 1D coordinates, it is given the position along the axis. For 3D coordinates, it is given the raw position.- 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
-
axispos
: -
normoffset
: -
normangle
: