Introduction
In computer graphics, the distribution of points on a surface—known as sampling—is a fundamental process affecting rendering quality, stippling, and physical simulations. While robust statistical tools exist for analyzing point patterns in 2D or 3D Euclidean spaces, applying these methods to curved 3D mesh surfaces presents significant challenges. Specifically, the Pair Correlation Function (PCF), a powerful tool for characterizing point distributions, traditionally suffers from a quadratic time complexity ($O(N^2)$) and is computationally expensive when calculating geodesic distances on complex geometries.
This paper introduces a localized version of the PCF designed specifically for 3D manifold meshes. By restricting calculations to local neighborhoods and utilizing efficient distance approximations, the authors transform the analysis into a nearly linear $O(N)$ process, enabling the evaluation of both uniform and adaptive sampling patterns on intricate geometries.
Methodology
Localization and Complexity Reduction
The primary innovation lies in the "localization" of the PCF. The standard PCF calculates the distance between every possible pair of points in a set. However, the Gaussian kernel typically used in these calculations assigns negligible weight to distant points. By adopting a $k$-ring neighborhood approach, the authors restrict the calculation to a small number of neighbors ($M$). This shift reduces the computational complexity from $O(N^2)$ to $O(MN)$, where $M \ll N$, resulting in a performance that scales linearly with the number of samples.
Euclidean Distance Approximation
Calculating geodesic distance (the shortest path along a surface) is computationally taxing. The authors demonstrate that for local neighborhoods, Euclidean distance—the "as the crow flies" distance—serves as a sufficient approximation. As long as the sampling density is high enough relative to the surface curvature, the error introduced by using Euclidean distance is negligible. This approximation significantly accelerates the analysis without sacrificing accuracy for high-density point sets.
Support for Adaptive Sampling
To analyze adaptive patterns—where point density varies based on surface features or importance functions—the authors implement a "warp method." This technique scales local distances based on a predefined importance function, effectively normalizing non-uniform distributions into a uniform domain for statistical analysis. This allows the PCF to be applied to a wider range of modern sampling algorithms that prioritize detail in specific areas.
Measuring Irregularity
Beyond standard distribution analysis, the paper introduces a metric for "irregularity." By examining the variance of the PCF across different points on the surface, researchers can distinguish between highly structured grids (like those produced by Centroidal Voronoi Tessellation) and more randomized "blue noise" distributions. This measure is vital for avoiding aliasing artifacts in rendering, where perfectly regular patterns can be detrimental.
Evaluation and Results
The method was validated using several standard 3D models, including the "Eight" (double-torus), "Genus" (multi-holed), and highly detailed meshes like the "Kitten," "Hand," and "Botijo." These were tested against point sets generated by prominent sampling algorithms such as Poisson Disk Sampling, Centroidal Voronoi Tessellation (CVT), and Farthest Point Optimization (FPO).
Performance and Accuracy
The localized PCF demonstrated near-linear growth in processing time, a stark contrast to the exponential explosion of the global version as sample counts increased. Furthermore, the results for high-quality samplers like FPO and Maximal Poisson-disk Sampling (MPS) on 3D surfaces matched the statistical profiles previously established in 2D Euclidean space. For instance, FPO consistently showed a characteristic peak near 0.93, confirming the validity of the surface generalization.
Metric Validation
On the complex "Genus" model, the authors compared results using both Euclidean and Geodesic metrics. They found that once the sample count reached approximately 1,500 points, the two metrics yielded nearly identical results, confirming that the faster Euclidean approximation is reliable for practical sampling densities.
Conclusion and Future Work
The localized PCF provides a robust and efficient framework for analyzing point distributions on complex 3D geometries. By bridging the gap between 2D statistical analysis and 3D surface sampling, it offers researchers a precise tool to tune algorithms for the "sweet spot" between regularity and randomness.
While currently limited to isotropic patterns, future work aims to extend this analysis to anisotropic sampling, where point orientation follows surface features. Additionally, the authors envision moving from analysis to synthesis, using the PCF to directly generate optimized point patterns on surfaces, potentially accelerated by GPU implementations.
Summary updated