Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2025, Vol. 46 ›› Issue (3): 642-654.DOI: 10.11996/JG.j.2095-302X.2025030642

• Computer Graphics and Virtual Reality • Previous Articles     Next Articles

Performance analysis of GPU-based parallel solvers for rigid body dynamics

LIANG Ruikai(), LUO Xukun, GUO Yuzhong, HE Xiaowei()   

  1. Beijing Key Laboratory of Human-Computer Interaction, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2024-08-23 Accepted:2025-01-13 Online:2025-06-30 Published:2025-06-13
  • Contact: HE Xiaowei
  • About author:First author contact:

    LIANG Ruikai (2001-), master student. His main research interests cover physics-based simulation and rigid body dynamics simulation. E-mail:liangruikai23@mails.ucas.ac.cn

  • Supported by:
    National Key R&D Program of China(2021YFB1715800);National Natural Science Foundation of China(62302490)

Abstract:

Multi-body dynamic simulation involving rigid bodies and constraints plays a critical role in physical simulation and has widespread applications in engineering analysis, virtual reality, and game animation. Traditional rigid-body physics engines primarily rely on CPUs for computation. However, in modern computer graphics and real-time physics simulation, the parallel computing power of GPUs has been demonstrated to significantly enhance performance. This study explored the implementation of five Jacobian-based constraint solvers on the GPU and analyzed their performance and stability. These solvers included the projected Jacobi (PJ) solver, the combined projected Jacobi and nonlinear Jacobi (PJNJ) solver, the projected Jacobi with soft constraints (PJSoft) solver, the substep-based Jacobi (TJ) solver, and the substep-based Jacobi with soft constraints (TJSoft) solver. Benchmark tests revealed that the soft-constraint method provided smoother constraint impulse responses, while employing a substep strategy results in more stable solutions, particularly for high mass ratios and complex scenarios. Overall, this work offered a fresh perspective on evaluating GPU-based constraint solver strategies in multi-body simulations and served as an important reference for real-time physics simulation and interactive computer graphics.

Key words: multi-body dynamic simulation, GPU implementation, Jacobi method, soft constraints, substep, performance and stability analysis

CLC Number: