Skip to main content Link Menu Expand (external link) Document Search Copy Copied
petalSdf

petalSdf

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
  • Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float