sweep

sweep

convert
sweep
RayTK
v0.40

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:
Enable

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

  • pathsdf:
  • pathpos:
  • pos3d: