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
LIANG Ruikai(), LUO Xukun, GUO Yuzhong, HE Xiaowei(
)
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:
CLC Number:
LIANG Ruikai, LUO Xukun, GUO Yuzhong, HE Xiaowei. Performance analysis of GPU-based parallel solvers for rigid body dynamics[J]. Journal of Graphics, 2025, 46(3): 642-654.
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.txxb.com.cn/EN/10.11996/JG.j.2095-302X.2025030642
算法求解器 | 步长 | 数值稳定性 | 数值精度 | 性能表现 | 应用场景 |
---|---|---|---|---|---|
PJ | ★★ | ★★ | ★★ | ★★★ | 性能优先的实时场景 |
PJSoft | ★★ | ★★★ | ★★ | ★★★ | 性能优先且需要更高稳定性的实时场景 |
TJ | ★★★ | ★★★★ | ★★★ | ★★ | 高精度大步长的实时场景 |
TJSoft | ★★★ | ★★★★★ | ★★★ | ★★ | 高精度大步长且需要更高稳定性的实时场景 |
PJNJ | ★★ | ★★ | ★★ | ★ | 单帧位置误差限度要求较高的场景 |
Table 1 Solver evaluation results
算法求解器 | 步长 | 数值稳定性 | 数值精度 | 性能表现 | 应用场景 |
---|---|---|---|---|---|
PJ | ★★ | ★★ | ★★ | ★★★ | 性能优先的实时场景 |
PJSoft | ★★ | ★★★ | ★★ | ★★★ | 性能优先且需要更高稳定性的实时场景 |
TJ | ★★★ | ★★★★ | ★★★ | ★★ | 高精度大步长的实时场景 |
TJSoft | ★★★ | ★★★★★ | ★★★ | ★★ | 高精度大步长且需要更高稳定性的实时场景 |
PJNJ | ★★ | ★★ | ★★ | ★ | 单帧位置误差限度要求较高的场景 |
Fig. 6 Chain and ball scene ((a) Ball and chain scene performance; (b) System energy change before and after solving; (c) Constraint error variation curve)
算法 | 场景 | ||
---|---|---|---|
Box stack | Ball and chain | Overlap | |
PJ | 7.093 2 | 7.212 8 | 6.804 4 |
PJNJ | 54.825 1 | 53.645 8 | 45.276 9 |
PJSoft | 7.652 4 | 7.376 4 | 6.419 0 |
TJ | 10.338 9 | 9.641 3 | 8.920 8 |
TJSoft | 10.503 3 | 9.326 5 | 7.833 7 |
Table 2 Time consumption comparison/ms
算法 | 场景 | ||
---|---|---|---|
Box stack | Ball and chain | Overlap | |
PJ | 7.093 2 | 7.212 8 | 6.804 4 |
PJNJ | 54.825 1 | 53.645 8 | 45.276 9 |
PJSoft | 7.652 4 | 7.376 4 | 6.419 0 |
TJ | 10.338 9 | 9.641 3 | 8.920 8 |
TJSoft | 10.503 3 | 9.326 5 | 7.833 7 |
Fig. 11 Performance of different solvers in complex scenarios—windmill rotation impacting stacked blocks ((a) PJ; (b) PJNJ; (c) PJSoft; (d) TJ; (e) TJSoft)
[1] | PARBERRY I. Introduction to game physics with Box2D[M]. Boca Raton: CRC Press, 2017: 51-78. |
[2] | BARAFF D. Coping with friction for non-penetrating rigid body simulation[J]. ACM SIGGRAPH Computer Graphics, 1991, 25(4): 31-41. |
[3] | TASORA A, NEGRUT D, ANITESCU M. A GPU-based implementation of a cone convex complementarity approach for simulating rigid body dynamics with frictional contact[C]// ASME 2008 International Mechanical Engineering Congress and Exposition. New York: ASME, 2008: 107-118. |
[4] | STEWART D E, TRINKLE J C. An implicit time‐stepping scheme for rigid body dynamics with inelastic collisions and coulomb friction[J]. International Journal for Numerical Methods in Engineering, 1996, 39(15): 2673-2691. |
[5] | ANITESCU M, POTRA F A. Formulating dynamic multi-rigid-body contact problems with friction as solvable linear complementarity problems[J]. Nonlinear Dynamics, 1997, 14(3): 231-247. |
[6] | CLINE M B, PAI D K. Post-stabilization for rigid body simulation with contact and constraints[C]// 2003 IEEE International Conference on Robotics and Automation. New York: IEEE Press, 2003: 3744-3751. |
[7] | CATTO E. Iterative dynamics with temporal coherence[EB/OL]. [2024-06-23]https://box2d.org/files/ErinCatto_IterativeDynamics_GDC2005.pdf. |
[8] | ERLEBEN K. Stable, robust, and versatile multibody dynamics animation[D]. Copenhagen: University of Copenhagen, 2004. |
[9] | MURTY K G, YU V F. Linear complementarity, linear and nonlinear programming[M]. Berlin : Heldermann , 1988: 1-11. |
[10] | HARADA T. Parallelizing the physics pipeline: physics simulations on the GPU[EB/OL]. [2024-06-23]https://ubm-twvide001.s3.amazonaws.com/01/vault/gdc10/slides/Harada_Takahiro_PhysicsForProgvammers_GPUPhysics.pdf. |
[11] | TONGE R, WYATT B, NICHOLSON N. Physx GPU rigid bodies in batman: Arkham asylum[J]. Game Programming Gems, 2010, 8: 590-601. |
[12] | CATTO E. Modeling and solving constraints[EB/OL]. [2024-06-23]https://box2d.org/files/ErinCatto_ModelingAndSolvingConstraints_GDC2009.pdf. |
[13] | COTTLE R W, PANG J S, STONE R E. The linear complementarity problem[M]. Philadelphia: Society for Industrial and Applied Mathematics, 2009: 1-10. |
[14] | COUMANS E. Bullet physics simulation[C]// ACM SIGGRAPH 2015 Courses. New York: ACM, 2015: 7. |
[15] | HARADA T. A parallel constraint solver for a rigid body simulation[C]// SIGGRAPH Asia 2011 Sketches. New York: ACM, 2011: 22. |
[16] | TONGE R, BENEVOLENSKI F, VOROSHILOV A. Mass splitting for jitter-free parallel rigid body simulation[J]. ACM Transactions on Graphics, 2012, 31(4): 105. |
[17] | MACKLIN M, ERLEBEN K, MÜLLER M, et al. Non-smooth newton methods for deformable multi-body dynamics[J]. ACM Transactions on Graphics, 2019, 38(5): 140. |
[18] | CROMER A. Stable solutions using the Euler approximation[J]. American Journal of Physics, 1981, 49(5): 455-459. |
[19] | CHAPPUIS D. Constraints derivation for rigid body simulation in 3D[EB/OL]. (2013-11-13). [2024-06-23]https://danielchappuis.ch/download/ConstraintsDerivationRigidBody3D.pdf. |
[20] | BAUMGARTE J. Stabilization of constraints and integrals of motion in dynamical systems[J]. Computer Methods in Applied Mechanics and Engineering, 1972, 1(1): 1-16. |
[21] | CATTO E. Soft constraints: reinventing the spring[EB/OL]. [2024-06-23]https://box2d.org/files/ErinCatto_SoftConstraints_GDC2011.pdf. |
[22] | MÜLLER M, MACKLIN M, CHENTANEZ N, et al. Detailed rigid body simulation with extended position based dynamics[J]. Computer Graphics Forum, 2020, 39(8): 101-112. |
[23] | MACKLIN M, STOREY K, LU M, et al. Small steps in physics simulation[C]// The 18th Annual ACM SIGGRAPH/ Eurographics Symposium on Computer Animation. New York: ACM, 2019: 2. |
[1] | TAN Bingyu, XUE Yanmin, QIN Song. Review of digital technology methods for grottoes cultural relics in China [J]. Journal of Graphics, 2025, 46(3): 479-490. |
[2] | LING Fei, YU Jingtao, ZHU Zheyan, LUO Jian, ZHU Jixiang, CHEN Xianke, DONG Jianfeng. Data-efficient video retrieval with contrastive learning [J]. Journal of Graphics, 2025, 46(3): 491-501. |
[3] | WANG Daolei, DING Zijian, YANG Jun, ZHENG Shaokai, ZHU Rui, ZHAO Wenbin. Large scene reconstruction method based on voxel grid feature of NeRF [J]. Journal of Graphics, 2025, 46(3): 502-509. |
[4] | HUANG Zhiyong, SHE Yali, HUA Xifeng, XIANG Mengli, YANG Chenlong, DING Tuojun. DCSplat: Gaussian splatting with depth information constraints under sparse viewpoints [J]. Journal of Graphics, 2025, 46(3): 510-519. |
[5] | ZHANG Di, ZHANG Wenan, JIANG Zhide, WU Aixia, KONG Hao, GUO Xian, CHEN Wei. TCPColor: a Chinese painting color scheme recommendation system based on text-to-image generation model [J]. Journal of Graphics, 2025, 46(3): 520-531. |
[6] | LIU Xin, LI Yang, FENG Shengjie, WU Xiaoqun. Line extraction and representation algorithm for RGB-D data [J]. Journal of Graphics, 2025, 46(3): 542-550. |
[7] | ZHOU Zheng, DAI Yaqiao, YI Renjiao, LAN Long, ZHU Chenyang. The next best view navigation technology based on RGB features [J]. Journal of Graphics, 2025, 46(3): 551-557. |
[8] | SUN Hao, XIE Tao, HE Long, GUO Wenzhong, YU Yongfang, WU Qijun, WANG Jianwei, DONG Hui. Research on multimodal text-visual large model for robotic terrain perception algorithm [J]. Journal of Graphics, 2025, 46(3): 558-567. |
[9] | WANG Suqin, DU Yujie, SHI Min, ZHU Dengming. Detection of apparent defects in a small sample of industrial products with category imbalance [J]. Journal of Graphics, 2025, 46(3): 568-577. |
[10] | CUI Lisha, SONG Zhiwen, JIANG Xiaoheng, MA Xin, CHEN Enqing, XU Mingliang. An edge and sematic-aware segmentation network for defect detection [J]. Journal of Graphics, 2025, 46(3): 578-587. |
[11] | MA Yang, HUANG Lujie, PENG Weilong, WU Zhize, TANG Keke, FANG Meie. CLIP-based semantic offset transferable attacks on 3D point clouds [J]. Journal of Graphics, 2025, 46(3): 588-601. |
[12] | LIU Hongshuo, BAI Jing, YAN Hao, LIN Gan. BGS-Net: fine-grained classification networks with balanced generalization and specialization for 3D point clouds [J]. Journal of Graphics, 2025, 46(3): 602-613. |
[13] | WANG Changchang, JIANG Kun, JIANG Kai, ZHANG Peng, SU Zhiyong. Feedback-based iterative sampling denoising framework for point clouds with high-level noise [J]. Journal of Graphics, 2025, 46(3): 614-624. |
[14] | YU Bing, CHENG Guang, HUANG Dongjin, DING Youdong. 3D human mesh reconstruction based on dual-stream network fusion [J]. Journal of Graphics, 2025, 46(3): 625-634. |
[15] | LI Xiaoli, ZHANG Kun, DU Zhenlong, CHEN Dong, SONG Shuang. Implicit surface animation rendering based on temporal interval inversion [J]. Journal of Graphics, 2025, 46(3): 635-641. |
Viewed | ||||||
Full text |
|
|||||
Abstract |
|
|||||