SDF, Signed Distance Fields or Signed Distance Functions are a relatively new approach to computer graphics. Described on Wikipedia as:
Let Ω be a subset of a metric space X with metric d, and ∂Ω be its boundary. The distance between a point x of X and the subset ∂Ω of X is defined as usual asd(x,∂Ω)=infy∈∂Ωd(x,y),
where inf denotes the infimum.
The signed distance function from a point x of X to Ω is defined byf(x)={d(x,∂Ω)if x∈Ω−d(x,∂Ω)if x∉Ω.
In much simpler terms, SDF’s are a fast way in computer graphics to describe the boundary or shape of an object and how it interacts with other nearby objects. This has been used early on by Valve in 2007 for font rendering, as well as in the Godot game engine in SDFGI or Signed Distance Field Global Illumination(learn more).
Recently we have seen more and more CG applications using SDF for 3D modelling. In the video below we cover the following applications that utilize Signed Distance Fields.
Dreams – Media Molecule Games | Unique Gaming Experiences
MagicaVoxel (ephtracy.github.io)
Learn more about SDF usage in the world of computer graphics in the video below.