Overview
Signed Distance Function Evaluation returns negative, zero, or positive values depending on whether a point is inside, on, or outside a shape.
Computes distance to a shape boundary with sign indicating inside or outside.
Compact metadata for implementation and discovery.
Signed Distance Function Evaluation returns negative, zero, or positive values depending on whether a point is inside, on, or outside a shape.
Quick facts
Runtime and memory behavior at a glance.
Best
O(1)
Average
O(shape complexity)
Worst
O(shape complexity)
Space
O(1)
distance = length(point - center) - radiusComputes signed distance from a point to a sphere.
Show contour bands around a shape where zero marks the boundary.
Exact signed distances are not always preserved after arbitrary field operations.
What each reference supports for this entry.
Reference for using signed distance functions and distance bounds in implicit surface rendering.
Open sourceRendering reference for Signed Distance Function Evaluation's ray queries, acceleration structures, or implicit-geometry use case.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Sphere tracing advances rays using signed-distance function evaluations.