elongate
Keywords:
- elongate
- extend
- stretch
filter
elongate
RayTK
v0.42
Stretches a shape by splitting it into pieces, moves them apart, and connects them.
For example, a capsule is an elongated version of a sphere.
It is based on code from Inigo Quilez. See example.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Center | The center point of the stretching. | Runtime | Baked |
Size | The distance that that parts are pushed apart from the origin. | Runtime | Baked |
Axes | Which axes should be stretched. | Runtime | Semi-Baked |
| |||
Inputs
-
definition_in: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4SdfVolumeRayLightParticle - Supports Variables From Inputs:
sizeFieldcenterField
- Coordinate Types:
-
Size Field: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4
- Coordinate Types:
-
Center Field: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4 - Supports Variables From Inputs:
sizeField
- Coordinate Types: