Fast and exact geodesic computation using Edge-based Windows Grouping

Yipeng Qin

This doctoral thesis by Yipeng Qin introduces a significant leap in computational geometry: a way to calculate exact shortest paths (geodesics) on 3D surfaces that is both faster and far more memory-efficient than previous state-of-the-art methods. By shifting the focus from individual data units to grouped "batches" based on mesh edges, the author resolves long-standing performance bottlenecks in 3D modeling and computer graphics.

TL;DR

The paper introduces Edge-based Windows Grouping (EWG), a technique that groups geodesic information to process it in batches rather than individually. This approach powers a new algorithm, Vertex-oriented Triangle Propagation (VTP), which is up to 15 times faster and uses significantly less memory than existing exact methods, making it feasible to process massive 3D models on standard hardware.

What Problem Does This Paper Address?

In computer graphics, finding the "geodesic distance"—the shortest path between two points while staying on a curved surface—is a fundamental task. It’s used for everything from character animation and cloth simulation to medical imaging and 3D printing.

While we have "approximate" methods that are fast but prone to errors (especially on poor-quality meshes), "exact" algorithms have historically been a nightmare for performance. The two classic approaches, the Mitchell-Mount-Papadimitriou (MMP) and Chen-Han (CH) algorithms, suffer from either massive memory consumption or sluggish execution speeds. As 3D models grow into the millions of polygons (the "Big Data Era"), these older methods often crash due to memory exhaustion or take an impractical amount of time to finish.

Methods

The author’s core innovation is Edge-based Windows Grouping (EWG).

In traditional algorithms, the "wavefront" of a path is tracked using "windows"—small segments of data representing potential shortest paths. Previous methods treated every window as an independent entity in a massive priority queue. Qin’s method groups all windows sitting on the same edge of a triangle mesh into a single list.

This grouping enables two major breakthroughs:

  1. Vertex-oriented Triangle Propagation (VTP): Instead of sorting millions of individual windows, the algorithm sorts mesh vertices. Since there are far fewer vertices than windows, the management overhead of the "priority queue" (the engine that drives the search) drops dramatically.
  2. Pairwise Window Pruning: Because windows are grouped, the algorithm can easily compare them. If two windows on the same edge overlap, the algorithm can instantly "prune" (delete) the one that represents a longer path. The author identified 15 specific geometric scenarios where this pruning can happen within a single triangle.
  3. Redundant Window Removal (RWR): For complex applications like Voronoi diagrams, the paper introduces a way to identify "inactive regions"—parts of the mesh where the shortest path is already finalized—allowing the system to delete unnecessary data mid-calculation.

Datasets

The algorithm was stress-tested against a robust collection of 55 models ranging from 10,000 to 14 million faces. These were sourced from well-known repositories:

  • AIM@SHAPE (e.g., the "Twirl" and "Buste" models)
  • Georgia Institute of Technology (Large Geometric Models Archive)
  • Stanford Scanning Repository (e.g., the "Bunny" and "Lucy" models)
  • Princeton Suggestive Contour Gallery

The diversity of these models (sculptures, animals, man-made objects) ensured the algorithm was tested against various "mesh qualities," including those with highly irregular or stretched triangles.

Key Insights and Ideas

  • The Power of the Batch: The "aha moment" is realizing that windows on the same edge are highly correlated. Processing them individually is like a mail carrier visiting the same house ten times for ten letters; grouping them is like delivering the whole bundle at once.
  • Priority Queue Efficiency: By sorting by vertices rather than windows, the algorithm moves from a "window-centric" view to a "mesh-centric" view. This exploits the underlying structure of the 3D model to save time.
  • Memory Reclamation: In Voronoi diagram construction, the boundaries only touch a tiny fraction of the mesh. The insight that most stored windows are "dead weight" allowed the author to reduce memory usage by orders of magnitude without losing any accuracy.

Key Results

The results are categorized by the two main problems the paper solves:

Single-Source Geodesics (SS-DGP): * Speed: The VTP algorithm is 4–15 times faster than the classic MMP and ICH algorithms. It is also 2–4 times faster than more recent "Fast Wavefront" variants. * Efficiency: VTP performs roughly 56% fewer window propagations than its closest competitors because it prunes redundant paths so effectively.

Voronoi Diagram Construction: * Memory: The proposed method uses 10–70 times less memory than previous practical methods. * Scalability: On massive models like "Lucy" (14M faces), where previous methods would run out of memory and fail, VTP finishes successfully using a fraction of the RAM.

Limitations and Future Work

While VTP is a massive step forward, the author notes a few areas for growth:

  • Weighted Surfaces: Currently, the algorithm assumes the "cost" of traveling across the surface is uniform. In the real world (or complex games), some areas might be "harder" to cross (like mud vs. pavement). Extending EWG to weighted surfaces is a key next step.
  • Parallelization: Because EWG processes windows in lists, it is naturally suited for "SIMD" (Single Instruction, Multiple Data) architectures. The author suggests that a GPU-based version of VTP could be even faster.
  • All-Pairs Geodesics: The current work focuses on paths from a single source. Adapting this to find paths between all points on a mesh efficiently remains an open challenge.

Summary updated

BibTeX
@inproceedings{qin2017fast,
  author = {Yipeng Qin},
  title = {{Fast and exact geodesic computation using Edge-based Windows Grouping}},
  booktitle = {Undefined},
  year = {2017},
  url = {https://openreview.net/forum?id=uU0aszlc1xv},
}
Figure