extrudeLine
beta
convert
extrudeLine
RayTK
v0.42
Extrudes a 2D SDF cross-section into a 3D volume, like the extrude operator, but between two points.
The extrude operator goes along a selected axis, with a height center on the origin. Instead of doing that, this operator extrudes so that one side is centered at Point1 and the other end at Point2.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Point 1 | Runtime | Baked | |
Point 2 | Runtime | Baked |
Inputs
-
Cross-Section SDF: (required) 2D SDF cross-section to extrude.- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
Sdf - Supports Variables:
axisposnormoffset - Supports Variables From Inputs:
point1Fieldpoint2Field
- Coordinate Types:
-
Point 1 Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4
- Coordinate Types:
-
Point 2 Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4 - Supports Variables From Inputs:
point1Field
- Coordinate Types:
Variables
-
Position Along Axis: -
Normalized Offset: