sdf.Primitive
sdf.Primitive()
Base class for primitive SDFs (leaf nodes in the SDF tree).
Primitives are the basic building blocks - spheres, boxes, cylinders, etc. They have no SDF children, but may have a Fluent material child so that extract_parameters can discover material parameters automatically.
Subclasses must implement: - @staticmethod def sdf(p: Array, **params) -> Array - call(self, p: Array) -> Array