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 条
[21]  
Macklin M, 2014, ACM T GRAPHIC, V33, DOI [10.1145/280/109/2601152, 10.1145/2601097.2601152]
[22]   Position Based Fluids [J].
Macklin, Miles ;
Mueller, Matthias .
ACM TRANSACTIONS ON GRAPHICS, 2013, 32 (04)
[23]   SMALLEST-LAST ORDERING AND CLUSTERING AND GRAPH-COLORING ALGORITHMS [J].
MATULA, DW ;
BECK, LL .
JOURNAL OF THE ACM, 1983, 30 (03) :417-427
[24]   Position based dynamics [J].
Mueller, Matthias ;
Heidelberger, Bruno ;
Hennix, Marcus ;
Ratcliff, John .
JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION, 2007, 18 (02) :109-118
[25]  
Naumov M., 2015, NVR2015001 NVIDIA GP
[26]  
Saad Yousef., 2003, ITERATIVE METHODS SP, DOI DOI 10.1137/1.9780898718003
[27]  
Stam J, 2009, INT C COMP AID DES C, P1, DOI 10.1109/CADCG.2009.5246818
[28]   Smoothed Aggregation Multigrid for Cloth Simulation [J].
Tamstorf, Rasmus ;
Jones, Toby ;
McCormick, Stephen E. .
ACM TRANSACTIONS ON GRAPHICS, 2015, 34 (06)
[29]   Continuum-based Strain Limiting [J].
Thomaszewski, Bernhard ;
Pabst, Simon ;
Strasser, Wolfgang .
COMPUTER GRAPHICS FORUM, 2009, 28 (02) :569-576
[30]   Mass Splitting for Jitter-Free Parallel Rigid Body Simulation [J].
Tonge, Richard ;
Benevolenski, Feodor ;
Voroshilov, Andrey .
ACM TRANSACTIONS ON GRAPHICS, 2012, 31 (04)