Signed Distance Field

Introduction to SDF Signed Distance Field (SDF) Signed Distance Field (SDF)1 is a mathematical function or data structure used to represent shapes. In 2D or 3D space, it assigns each point a signed distance value, which represents the distance to the nearest surface (or boundary), with the sign distinguishing between inside and outside: Positive value: The point is outside the shape, and the value indicates the nearest distance to the surface. Negative value: The point is inside the shape, and the absolute value indicates the nearest distance to the surface. Zero: The point lies exactly on the surface of the shape. Formally, for a point $x$ in space, an SDF can be defined as: ...

August 13, 2025 · 8 min · 3581 words · cronrpc