sweep

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
  • XY:
  • YX:
  • YZ:
  • ZY:
  • XZ:
  • ZX:

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
  • 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

Variables

  • Path SDF:
  • Path Position:
  • 3D Position: