On the Vertex-oriented Triangle Propagation (VTP) Algorithm: Parallelization and Approximation

Abstract Computing geodesic distances on polyhedral surfaces is a fundamental problem in digital geometry processing and computer-aided design. Most of the existing exact algorithms partition mesh edges into intervals, called windows, and propagate one window at a time. The state-of-the-art, Vertex-oriented Triangle Propagation (VTP), groups the windows on the same half-edge as a window list, and propagates window lists across triangular faces using a vertex-oriented priority queue. VTP runs much faster than the conventional algorithms thanks to its group nature. However, as a sequential algorithm, VTP is still computationally expensive for large-scale meshes. In this paper, we develop a parallel version of VTP, called Parallel-VTP or PVTP, that can propagate multiple window lists from multiple vertices simultaneously. To avoid data conflicts, PVTP proceeds with 3 steps in each iteration, which are K -window-list selection, parallel window list propagation, and vertex distance updating and window list merging. Extensive evaluation shows that PVTP improves the speed of the sequential VTP by a factor of 2.5 ∼ 3 for T = 4 and 4 ∼ 5 for T = 8 for triangular meshes with regular tessellation and over 1 million vertices, where T is the number of threads. We observe that wavefront propagation in the exact geodesic algorithms slows down when the wavefront has a long circumference, hereby containing a large number of windows pending processing. To improve the efficiency of window propagation, we develop an approximate variant of VTP, called Approximate VTP or AVTP, which trades speed for accuracy by resetting window when the wavefront radius is a multiple of λ h , where λ is a user-specified parameter and h is average edge length. We show that AVTP becomes Dijkstra’s algorithm when λ h is less than the minimal edge length and becomes the exact VTP when λ h is greater than the longest geodesic distance on the model. AVTP has a theoretical time complexity O ( n λ ) , which is also confirmed by computational results. It is worth noting that the proposed parallelization and approximation techniques can be either used separately or combined together. Our source code is available at https://github.com/djie-0329/PVTP .

[1]  Ligang Liu,et al.  Fast Wavefront Propagation (FWP) for Computing Exact Geodesic Distances on Meshes , 2015, IEEE Transactions on Visualization and Computer Graphics.

[2]  Laurent D. Cohen,et al.  Geodesic Methods in Computer Vision and Graphics , 2010, Found. Trends Comput. Graph. Vis..

[3]  Bruno Lévy,et al.  Particle-based anisotropic surface meshing , 2013, ACM Trans. Graph..

[4]  Ying He,et al.  Parallelizing discrete geodesic algorithms with perfect efficiency , 2019, Comput. Aided Des..

[5]  Jian-Jun Zhang,et al.  Fast and exact discrete geodesic computation based on triangle-oriented wavefront propagation , 2016, ACM Trans. Graph..

[6]  Yong-Jin Liu,et al.  Exact geodesic metric in 2-manifold triangle meshes using edge-based data structures , 2013, Comput. Aided Des..

[7]  Ying He,et al.  Saddle vertex graph (SVG) , 2013, ACM Trans. Graph..

[8]  Shi-Qing Xin,et al.  Discrete geodesic graph (DGG) for computing geodesic distances on polyhedral surfaces , 2017, Comput. Aided Geom. Des..

[9]  S. Gortler,et al.  Fast exact and approximate geodesics on meshes , 2005, SIGGRAPH 2005.

[10]  Yipeng Qin,et al.  Fast and exact geodesic computation using Edge-based Windows Grouping , 2017 .

[11]  Shi-Qing Xin,et al.  Applying the improved Chen and Han's algorithm to different versions of shortest path problems on a polyhedral surface , 2010, Comput. Aided Des..

[12]  Joseph S. B. Mitchell,et al.  The Discrete Geodesic Problem , 1987, SIAM J. Comput..

[13]  Zheng Fang,et al.  Fast Construction of Discrete Geodesic Graphs , 2020, ACM Trans. Graph..

[14]  Shi-Qing Xin,et al.  Parallel chen-han (PCH) algorithm for discrete geodesics , 2013, ACM Trans. Graph..

[15]  Shi-Qing Xin,et al.  Improving Chen and Han's algorithm on the discrete geodesic problem , 2009, TOGS.

[16]  Joseph S. B. Mitchell,et al.  Geometric Shortest Paths and Network Optimization , 2000, Handbook of Computational Geometry.

[17]  Yijie Han,et al.  Shortest paths on a polyhedron , 1990, SCG '90.