







We introduce a method for approximating the signed distance function (SDF) of geometry corrupted by holes, noise, or self-intersections. The method implicitly defines a completed version of the shape, rather than explicitly repairing the given input. Our starting point is a modified version of the heat method for geodesic distance, which diffuses normal vectors rather than a scalar distribution. This formulation provides robustness akin to generalized winding numbers (GWN), but provides distance function rather than just an inside/outside classification. Our formulation also offers several features not common to classic distance algorithms, such as the ability to simultaneously fit multiple level sets, a notion of distance for geometry that does not topologically bound any region, and the ability to mix and match signed and unsigned distance. The method can be applied in any dimension and to any spatial discretization, including triangle meshes, tet meshes, point clouds, polygonal meshes, voxelized surfaces, and regular grids. We evaluate the method on several challenging examples, implementing normal offsets and other morphological operations directly on imperfect curve and surface data. In many cases we also obtain an inside/outside classification dramatically more robust than the one obtained provided by GWN.
Nicole Feng
We describe a method for computing signed distance to point clouds that allows fast pointwise evaluation at arbitrary spatial resolution. As input, our method takes a point cloud with normals; as output, it provides an analytical parameterization that allows queries of signed distance to the approximate underlying surface at arbitrary points — simultaneously providing reconstruction and distance. Our key idea is to reconstruct shapes by locally fitting point clouds with tori, which have closed-form signed distance functions. Tori are fitted in a feed-forward manner, using a pre-trained network to output per-point curvature and shift parameters. Importantly, our method does not require costly global optimization or spatial discretization, and is easily parallelizable. Underlying our method is a new theory that unifies signed distance with the classic reconstruction methods of winding numbers and Poisson surface reconstruction. We use our method to compute signed distance to point clouds arising from photogrammetry, meshes, 3D Gaussians, and neural implicits. Our method allows point clouds to be used directly in applications, without explicit surface reconstruction: as examples, we take offsets of point clouds, apply morphological and Boolean operations, and directly visualize offset surfaces using sphere tracing.
Fast calculation of the distance to cubic Bezier curves on the GPU
Bézier curves are a core building block of text and 2D shapes rendering. There are several approaches to rendering them, but one especially challenging problem, both mathematically and technically, is computing the distance to a Bézier curve. For quadratic curves (one control point), this is fairly accessible, but for cubic (two control points) we're going to see why it is so hard.
Dual Contouring Tutorial
How to create a sharp mesh from a function without even trying In part 1 and part 2 of the series, we looked at the Marching Cubes algorithm, and how it can turn any function into a grid based mesh…

Signed Distance Fields – Render Diagrams

Problems of geometry, sampling, and scale in gridded biodiversity data, and proposed solutions
Grids, and gridded biodiversity data such as regional or country-level atlases, play a prominent role in ecology, particularly in the study of spatial patterns of species occupancy, geographic ranges, biodiversity, and their drivers and temporal dynamics. However, managing, exploring, and analyzing data in grids comes with problems. Here, we review the problems with gridded data, and the existing solutions. We focus on grid-specific problems of sampling (e.g. varying sampling method and effort in space and time, imperfect detection), geometry (e.g. varying grid cell area and shape, positional errors), and scale (e.g. spatial grain and temporal extent). A first group of solutions can be implemented prior to gridding of the data. This includes the selection of an appropriate geographic projection, grid grain, and grid cell shape. The second type of solution involves the manipulation and processing of the gridded data. Examples include aggregating cells to coarser grains or removing cells that fail to meet certain quality criteria. The third type of solution is implemented during the analysis of the data. The most important is the quantification of the problem for use in statistical models or machine learning algorithms as a covariate. We hope to provide guidance particularly to early-career ecologists who may otherwise struggle to make sense of the various solutions scattered through the literature.
Delaunay triangulation
In computational geometry, a Delaunay triangulation or Delone triangulation of a set of points in the plane subdivides their convex hull into triangles whose circumcircles do not contain any of the points; that is, each circumcircle has its generating points on its circumference, but all other points in the set are outside of it. This maximizes the size of the smallest angle in any of the triangles, and tends to avoid sliver triangles.
How well do finite metric spaces embed in Euclidean space?
Bourgain proves that every metric space with $n$ points embeds in Euclidean space with distortion $O(\log n)$, and constructs, from random graphs, metric spaces for which every embedding has distortion at least a constant multiple of $\log n/\log\log n$. The lower bound shows in particular that $O(\sqrt{\log n})$ is not achievable, and answers negatively a question of Johnson and Lindenstrauss (1984) about embeddings into normed spaces of dimension $\log n$. The embedding sends each point to its distances from random sets of points of every size up to $n$, and the analysis rests on a single estimate of how often such a set separates two given points. The theorem became a cornerstone of the theory of low-distortion embeddings of finite metric spaces. A decade later, Linial, London and Rabinovich (1995) made the construction algorithmic and proved that expander graphs require distortion of order $\log n$, so that Bourgain's bound is best possible; with the independent work of Aumann and Rabani (1998), this made the embedding a basic tool of approximation algorithms, beginning with the sparsest cut problem.

Efficient Task-Specific Data Valuation for Nearest Neighbor Algorithms
Stealthy Blue Noise
Blue noise point sets are both hyperuniform (large-scale density fluctuations suppressed) and disordered, filling space evenly without introducing regular patterns. This makes them perceptually favorable, well suited to numerical integration, and effective for aliasing-free sampling. We borrow insights from the study of hyperuniform point sets in condensed matter physics and show that optimizing the disordered ground states of stealthy potentials yields blue noise that saturates the spectral-gap limit. Such point sets can be obtained by plain gradient descent, without early stopping. Using bond-orientational order parameters from the study of 2D melting, we map the Pareto frontier between uniformity and disorder, giving a real-space characterization that complements the standard spectral view of blue noise. We extend the method to non-Euclidean manifolds, combine stealthy losses over unions of point sets to construct multi-class blue noise that enables runtime-adjustable variable-density sampling, and apply reprojective constraints so that such point sets can be stored as textures. Finally, we generalize the loss from suppressing Fourier modes to matching arbitrary spectral targets, and introduce a spatially-varying frequency budget that scales each point's constrained modes by local density, enabling stippling that maintains consistent visual quality at all densities without crystallization artifacts.

Discontinuity-Aware 2D Neural Fields
Neural image representations offer the possibility of high fidelity, compact storage, and resolution-independent accuracy, providing an attractive alternative to traditional pixel- and grid-based representations. However, coordinate neural networks fail to capture discontinuities present in the image and tend to blur across them; we aim to address this challenge. In many cases, such as rendered images, vector graphics, diffusion curves, or solutions to partial differential equations, the locations of the discontinuities are known. We take those locations as input, represented as linear, quadratic, or cubic \bez curves, and construct a feature field that is discontinuous across these locations and smooth everywhere else. Finally, we use a shallow multi-layer perceptron to decode the features into the signal value. To construct the feature field, we develop a new data structure based on a curved triangular mesh, with features stored on the vertices and on a subset of the edges that are marked as discontinuous. We show that our method can be used to compress a 100,000^2-pixel rendered image into a 25MB file; can be used as a new diffusion-curve solver by combining with Monte-Carlo-based methods or directly supervised by the diffusion-curve energy; or can be used for compressing 2D physics simulation data.
Precision cosmology with voids in the final BOSS data
We report novel cosmological constraints obtained from cosmic voids in the final BOSS DR12 dataset. They arise from the joint analysis of geometric and dynamic distortions of average void shapes...

Stochastic Barnes-Hut Approximation for Fast Summation on the GPU
We present a novel stochastic version of the Barnes-Hut approximation. Regarding the level-of-detail (LOD) family of approximations as control variates, we construct an unbiased estimator of the kernel sum being approximated. Through several examples in graphics applications such as winding number computation and smooth distance evaluation, we demonstrate that our method is well-suited for GPU computation, capable of outperforming a GPU-optimized implementation of the deterministic Barnes-Hut approximation by achieving equal median error in up to 9.4x less time.

Meshes vs. Gaussian Splats: Which reality representation should you choose?
Learn the differences between meshes and Gaussian splats, how each represents reality, where they excel, and why the most effective reality mapping workflows increasingly leverage both.
