sweep
convert
sweep
RayTK
v0.42
Creates a 3D SDF by sweeping a 2D SDF along the surface of another 2D SDF.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Plane | Runtime | Semi-Baked | |
|
Inputs
-
Cross-Section SDF
: (required) The SDF that sweeps around the path SDF.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
- Supports Variables:
pathsdf
pathpos
pos3d
- Supports Variables From Inputs:
cross_section_definition_in
path_definition_in
- Coordinate Types:
-
Path SDF
: (required) The SDF around which the cross-section SDF sweeps.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
Sdf
- Coordinate Types:
Variables
-
Path SDF
: -
Path Position
: -
3D Position
: