Towards Generalized Position-Based Dynamics
Manas Chaudhary, Chandradeep Pokhariya, Rahul Narain
TL;DR
Problem: Position-based dynamics struggle with nonlinear energy models. Approach: Generalized PBD (GPBD) expresses implicit time integration as per-force displacements and solves a reduced Newton problem per force; XPBD equivalence emerges under linear-energy cases. Applications demonstrated: data-driven HYLC cloth and volumetric neo-Hookean elasticity with inversion barrier are supported in a GPU-accelerated GPBD pipeline, maintaining PBD flexibility. Impact: enables real-time simulation of complex nonlinear materials at high mesh resolutions, outperforming traditional Newton-based solvers in certain regimes and integrating with existing PBD workflows.
Abstract
The position-based dynamics (PBD) algorithm is a popular and versatile technique for real-time simulation of deformable bodies, but is only applicable to forces that can be expressed as linearly compliant constraints. In this work, we explore a generalization of PBD that is applicable to arbitrary nonlinear force models. We do this by reformulating the implicit time integration equations in terms of the individual forces in the system, to which applying Gauss-Seidel iterations naturally leads to a PBD-type algorithm. As we demonstrate, our method allows simulation of data-driven cloth models [Sperl et al. 2020] that cannot be represented by existing variations of position-based dynamics, enabling performance improvements over the baseline Newton-based solver for high mesh resolutions. We also show our method's applicability to volumetric neo-Hookean elasticity with an inversion barrier.
