Vivace: a Practical Gauss-Seidel Method for Stable Soft Body Dynamics

被引:67
作者
Fratarcangeli, Marco [1 ]
Tibaldo, Valentina [2 ]
Pellacini, Fabio [2 ]
机构
[1] Chalmers Univ Technol, Gothenburg, Sweden
[2] Sapienza Univ Rome, Rome, Italy
来源
ACM TRANSACTIONS ON GRAPHICS | 2016年 / 35卷 / 06期
关键词
Multi-color Gauss-Seidel Method; Projective Dynamics; Position Based Dynamics; Parallel Computing; SIMULATION; CONTACT;
D O I
10.1145/2980179.2982437
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The solution of large sparse systems of linear constraints is at the base of most interactive solvers for physically-based animation of soft body dynamics. We focus on applications with hard and tight per-frame resource budgets, such as video games, where the solution of soft body dynamics needs to be computed in a few milliseconds. Linear iterative methods are preferred in these cases since they provide approximate solutions within a given error tolerance and in a short amount of time. We present a parallel randomized Gauss-Seidel method which can be effectively employed to enable the animation of 3D soft objects discretized as large and irregular triangular or tetrahedral meshes. At the beginning of each frame, we partition the set of equations governing the system using a randomized graph coloring algorithm. The unknowns in the equations belonging to the same partition are independent of each other. Then, all the equations belonging to the same partition are solved at the same time in parallel. Our algorithm runs completely on the GPU and can support changes in the constraints topology. We tested our method as a solver for soft body dynamics within the Projective Dynamics and Position Based Dynamics frameworks. We show how the algorithmic simplicity of this iterative strategy enables great numerical stability and fast convergence speed, which are essential features for physically based animations with fixed and small hard time budgets. Compared to the state of the art, we found our method to be faster and scale better while providing stabler solutions for very small time budgets.
引用
收藏
页数:9
相关论文
共 33 条
  • [1] Abel S, 2015, NUMERICAL METHODS LI
  • [2] Volume Contact Constraints at Arbitrary Resolution
    Allard, Jeremie
    Faure, Francois
    Courtecuisse, Hadrien
    Falipou, Florent
    Duriez, Christian
    Kry, Paul G.
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2010, 29 (04):
  • [3] Bahi JM, 2011, SIMUL SERIES, V43, P12
  • [4] A Survey on Position-Based Simulation Methods in Computer Graphics
    Bender, Jan
    Mueller, Matthias
    Otaduy, Miguel A.
    Teschner, Matthias
    Macklin, Miles
    [J]. COMPUTER GRAPHICS FORUM, 2014, 33 (06) : 228 - 251
  • [5] Bergou Miklos, 2006, P 4 EUR S GEOM PROC, P227
  • [6] Projective Dynamics: Fusing Constraint Projections for Fast Simulation
    Bouaziz, Sofien
    Martin, Sebastian
    Liu, Tiantian
    Kavan, Ladislav
    Pauly, Mark
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2014, 33 (04):
  • [7] Shape-Up: Shaping Discrete Geometry with Projections
    Bouaziz, Sofien
    Deuss, Mario
    Schwartzburg, Yuliy
    Weise, Thibaut
    Pauly, Mark
    [J]. COMPUTER GRAPHICS FORUM, 2012, 31 (05) : 1657 - 1667
  • [8] NEW METHODS TO COLOR THE VERTICES OF A GRAPH
    BRELAZ, D
    [J]. COMMUNICATIONS OF THE ACM, 1979, 22 (04) : 251 - 256
  • [9] Bridson R, 2002, ACM T GRAPHIC, V21, P594, DOI 10.1145/566570.566623
  • [10] ESTIMATION OF SPARSE JACOBIAN MATRICES AND GRAPH-COLORING PROBLEMS
    COLEMAN, TF
    MORE, JJ
    [J]. SIAM JOURNAL ON NUMERICAL ANALYSIS, 1983, 20 (01) : 187 - 209