Studio and Graph › Voxel › Math
Distance To Plane
Signed distance to an infinite plane. Positive on the side the normal points, negative on the other.

The Distance To Plane node
When to use it
Signed distance to an infinite plane. Positive on the side the normal points, negative on the other.
The sign is the whole point. It makes an above-or-below test and a half-space cutter the same node.
The Plane primitive is this packaged as a solid. This one hands you the number.
Pins
| Pin | Type | Description |
|---|---|---|
NormalX |
Number | X of the direction the plane faces. Keep all three together at length 1. |
NormalY |
Number | Y of the direction the plane faces. |
NormalZ |
Number | Z of the direction the plane faces. Straight up by default. |
Distance |
Number | How far the plane sits along its own normal. |
| Pin | Type | Description |
|---|---|---|
Result |
Number | How far the voxel being sampled is from the plane. Positive on the side the normal points to, negative behind it. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.