
helixSdf
Keywords:
- coil
- helix
- spiral
sdf
helixSdf
RayTK
v0.36
SDF for a helix (an elongated spiral).
Parameters
-
:
-
Axis
:-
X
: -
Y
: -
Z
:
-
-
Translate
: -
Radius
: -
Thickness
: -
Spread
: -
Dual Spread
: -
Reverse
:
Inputs
-
Thickness Field
: (optional) Field used to multiply the `Radius` parameter. If it uses 1D coordinates, it is provided the position along the axis. If it uses 3D coordinates, it uses the absolute position.- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Radius Field
: (optional) Field used to multiply the `Thickness` parameter. If it uses 1D coordinates, it is provided the position along the axis. If it uses 3D coordinates, it uses the absolute position.- Coordinate Types:
float
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Spread Field
: (optional)- Coordinate Types:
float
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Cross Section Shape
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
Sdf
- Coordinate Types:
Variables
-
axisoffset
: -
angle
: -
normangle
: