extrudeLine
beta
convert
extrudeLine
RayTK
v0.36
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
-
Point 1
: -
Point 2
:
Inputs
-
Cross-Section SDF
: (required) 2D SDF cross-section to extrude.- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
Sdf
- Coordinate Types:
-
Point 1 Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
vec4
- Coordinate Types:
-
Point 2 Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
vec4
- Coordinate Types:
Variables
-
axispos
: -
normoffset
: