Documentation / Node reference / geo nodes
geo/SDFSlice
Samples a 3D SDF field on a plane into a 2D field.
Sdf Operations
Cuts through each input 3D SDF object with a plane (origin plus normal direction) and produces a 2D SDF field of the cross-section, shown with the distance-field visualization. The isoline is the exact cross-section outline; away from it the value is the 3D distance at the plane point, a lower bound on the true in-plane distance, so the bands compress near off-plane geometry. The result is a 2D SDF: compose it with other 2D objects, extrude or revolve it back into 3D, or hand it to geo/SDFTriangulate for the outline as segments or as a 2D manifold. Only 3D SDF inputs are accepted; non-SDF objects pass through unchanged.
One case comes out exact rather than bounded: a slice parallel to the profile of a geo/SDFExtrude, taken inside the extrusion, IS that profile, and the node hands the profile back untouched. Any other slice is the 3D distance, with an exact zero set and an interior that is only a lower bound.
Parameters
| Name | Type | What it does |
|---|---|---|
| origin | Vector3 | A point on the slicing plane. |
| direction | Vector3 | The plane's normal. The default +Z maps plane coordinates straight onto world XY. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.