Performance Comparison of Vertex Block Descent and Position Based Dynamics Algorithms Using Cloth Simulation in Unity
Open Access
- 28 November 2024
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 14 (23) , 11072
Abstract
This paper presents a comparative study of the Vertex Block Descent (VBD) and Position-Based Dynamics (PBD) algorithms, focusing on their performance in physical simulation tasks. Unity, a versatile physics engine, served as the simulation platform for the experiments. Among various types of physical simulations of deformable objects, fluids, and cloth dynamics, cloth simulations were chosen for implementation with both algorithms. The experimental setup ensured identical parameters, including time steps and movement behavior, for both algorithms across scenarios involving hanging, object-to-object collisions, and self-collisions. The results indicate that while the performance difference in frames per second (fps) between the two algorithms is negligible for simulations with a small number of nodes, the VBD algorithm consistently outperforms the PBD algorithm as the node count increases. Furthermore, this study provides practical guidelines for maintaining real-time performance, detailing the maximum node count each algorithm can support, while sustaining a minimum threshold of 30 fps, which is necessary for real-time applications. The comparison was conducted using CPU-based computation to establish a baseline for future studies in GPU-accelerated environments, where parallel processing is expected to further highlight the performance advantages of VBD. Future work will extend this research by evaluating additional physical simulation models, including the Mass-Spring System and Extended Position-Based Dynamics (XPBD), and developing optimizations to enhance the efficiency and scalability of these algorithms.Keywords
Funding Information
- National Research Foundation of Korea (NRF-2022R1I1A3069371, 5199990914048)
- Fostering Outstanding Universities for Research (NRF-2022R1I1A3069371, 5199990914048)
- Soonchunhyang University (NRF-2022R1I1A3069371, 5199990914048)
This publication has 27 references indexed in Scilit:
- Effect of Frame Rate on User Experience, Performance, and Simulator Sickness in Virtual RealityIEEE Transactions on Visualization and Computer Graphics, 2023
- Optimization Integrator for Large Time StepsIEEE Transactions on Visualization and Computer Graphics, 2015
- Position‐based rigid‐body dynamicsComputer Animation and Virtual Worlds, 2014
- Interactive Simulation of Rigid Body Dynamics in Computer GraphicsComputer Graphics Forum, 2013
- Deformable part inspection using a spring–mass systemComputer-Aided Design, 2013
- Review of Low Frame Rate Effects on Human PerformanceIEEE Transactions on Systems, Man, and Cybernetics - Part A: Systems and Humans, 2007
- Identification of Spring Parameters for Deformable Object SimulationIEEE Transactions on Visualization and Computer Graphics, 2007
- On frame rate and player performance in first person shooter gamesMultimedia Systems, 2007
- Position based dynamicsJournal of Visual Communication and Image Representation, 2007
- Deformable modelsThe Visual Computer, 1988