Vivace
Open Access
- 11 November 2016
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 35 (6) , 1-9
Abstract
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.Keywords
Funding Information
- Vetenskapsrådet (2015-05345)
This publication has 24 references indexed in Scilit:
- Shape‐Up: Shaping Discrete Geometry with ProjectionsComputer Graphics Forum, 2012
- Volume contact constraints at arbitrary resolutionACM Transactions on Graphics, 2010
- Continuum‐based Strain LimitingComputer Graphics Forum, 2009
- Interactive collision detection between deformable models using chromatic decompositionACM Transactions on Graphics, 2005
- Robust treatment of collisions, contact and friction for cloth animationACM Transactions on Graphics, 2002
- Fast Distributed Algorithms for Brooks–Vizing ColoringsJournal of Algorithms, 2000
- A Parallel Graph Coloring HeuristicSIAM Journal on Scientific Computing, 1993
- Smallest-last ordering and clustering and graph coloring algorithmsJournal of the ACM, 1983
- Estimation of Sparse Jacobian Matrices and Graph Coloring BlemsSIAM Journal on Numerical Analysis, 1983
- New methods to color the vertices of a graphCommunications of the ACM, 1979