petalSdf
sdf
petalSdf
RayTK
v0.42
A flower petal or leaf shape.
Based on Echeveria by tdhooper.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Thickness | Thickness of the petal. Smaller values also cause the end to flatten out. | Runtime | Baked |
Width | Width of the petal. | Runtime | Baked |
Wrap | Different vertical slices of the sphere that it is based on. Low values keep the petal short at the base. Large values keep the petal short at the top. | Runtime | Baked |
Radius | The radius of the sphere that the petal is based on. | Runtime | Baked |
Rotate | Rotates the petal around the y axis. | Runtime | Baked |
Inputs
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
thicknessField
- Coordinate Types:
-
Width Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
thicknessField
radiusField
- Coordinate Types:
-
Wrap Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
thicknessField
radiusField
widthField
- Coordinate Types: