sdf/blend
src/sdf/blend.tur
smooth blending operations on SdfExpr trees.
Since: Phase 5
defn
sdf-smooth-intersection
(sdf-smooth-intersection [a : int b : int k : float] :)
smooth CSG intersection (smooth max).
Parameters
| a b -- SdfExpr handles | ||
| k | blend radius (>= 0; 0 = sharp intersection) |
Returns
SdfExpr handle for the smoothly intersected shape.
Example
(sdf-smooth-intersection sphere box 0.2)
Since: Phase 5