Level Sets, Occupancy, and Signed Distance

Represent a surface as a level set and distinguish binary inside–outside information from distance and gradient information.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. A scalar field can define a boundary without a mesh
  2. Several fields can share the same surface

A scalar field can define a boundary without a mesh

For a circle centered at zero with radius \(r\), \(f(x)=\|x\|-r\) is negative inside, zero on the boundary and positive outside. Its magnitude is distance to the circle, and the gradient points outward where differentiable and nonzero. The indicator of being inside also identifies different sides but gives no distance to the boundary.

Several fields can share the same surface

Multiplying \(f\) by a positive constant preserves its zero set and signs, but scales gradient and distance values. A grid can extract an approximate zero contour by finding sign changes between samples. Thin features or multiple crossings between samples can be missed. Sampling and aliasing explain that resolution dependence. Neural implicit geometry examines learned versions of these representations.[1][2]

References

  1. Richard Szeliski, Computer Vision: Algorithms and Applications ↩
  2. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩