
revolve
convert
revolve
RayTK
v0.36
Creates a 3D SDF by revolving a 2D cross-section SDF around an axis.
Parameters
-
Axis
:-
X
: -
Y
: -
Z
:
-
-
Radial Offset
: Moves the cross-section shape closer or further from the axis. -
Axis Offset
: Moves the resulting shape along the axis. -
Iteration Type
:-
None
: -
Ratio
:
-
Inputs
-
Cross-Section SDF
: (required) The 2D shape that is revolved around the axis.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
Sdf
- Coordinate Types:
-
Rotate Field
: (optional) Optional field that controls rotation of the cross-section as it goes around the axis.- Coordinate Types:
float
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Scale Field
: (optional) Optional field that controls scale of the cross-section as it goes around the axis.- Coordinate Types:
float
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Translate Field
: (optional) Optional field that controls translate of the cross-section as it goes around the axis.- Coordinate Types:
float
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
vec4
- Coordinate Types:
-
Radial Offset Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Axis Offset Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
Variables
-
angle
: -
normangle
: