
petalSdf
sdf
petalSdf
RayTK
v0.36
A flower petal or leaf shape.
Based on Echeveria by tdhooper.
Parameters
-
Thickness
: Thickness of the petal. Smaller values also cause the end to flatten out. -
Width
: Width of the petal. -
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. -
Radius
: The radius of the sphere that the petal is based on. -
Rotate
: Rotates the petal around the y axis.
Inputs
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Width Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Wrap Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types: