DiffXPBD : Differentiable Position-Based Simulation of Compliant Constraint Dynamics
Abstract
We present DiffXPBD, a novel and efficient analytical formulation for the differentiable position-based simulation of compliant constrained dynamics (XPBD). Our proposed method allows computation of gradients of numerous parameters with respect to a goal function simultaneously leveraging a performant simulation model. The method is efficient, thus enabling differentiable simulations of high resolution geometries and degrees of freedom (DoFs). Collisions are naturally included in the framework. Our differentiable model allows a user to easily add additional optimization variables. Every control variable gradient requires the computation of only a few partial derivatives which can be computed using automatic differentiation code. We demonstrate the efficacy of the method with examples such as elastic cloth and volumetric material parameter estimation, initial value optimization, optimizing for underlying body shape and pose by only observing the clothing, and optimizing a time-varying external force sequence to match sparse keyframe shapes at specific times. Our approach demonstrates excellent efficiency and we demonstrate this on high resolution meshes with optimizations involving over 26 million degrees of freedom. Making an existing solver differentiable requires only a few modifications and the model is compatible with both modern CPU and GPU multi-core hardware.
BibTeX
@inproceedings {10.1145:3606923,
booktitle = {Proceedings of the ACM on Computer Graphics and Interactive Techniques},
editor = {Wang, Huamin and Ye, Yuting and Victor Zordan},
title = {{DiffXPBD : Differentiable Position-Based Simulation of Compliant Constraint Dynamics}},
author = {Stuyck, Tuur and Chen, Hsiao-Yu},
year = {2023},
publisher = {ACM Association for Computing Machinery},
ISSN = {2577-6193},
DOI = {10.1145/3606923}
}
booktitle = {Proceedings of the ACM on Computer Graphics and Interactive Techniques},
editor = {Wang, Huamin and Ye, Yuting and Victor Zordan},
title = {{DiffXPBD : Differentiable Position-Based Simulation of Compliant Constraint Dynamics}},
author = {Stuyck, Tuur and Chen, Hsiao-Yu},
year = {2023},
publisher = {ACM Association for Computing Machinery},
ISSN = {2577-6193},
DOI = {10.1145/3606923}
}
Related items
Showing items related by title, author, creator and subject.
-
Virtual Reality in Assembly Simulation - Collision Detection, Simulation Algorithms, and Interaction Techniques
Zachmann, Gabriel (Zachmann, Gabriel, July 2000)In 1995, only a few VR systems were commercially available and a few more in the academic domain. None of these was mature at the time, nor had any of them been deployed in the field for everyday work. Some commercial and ... -
An Integrated Platform for Dynamic Cardiac Simulation and Image Processing: Application to Personalised Tetralogy of Fallot Simulation
Toussaint, Nicolas; Mansi, T.; Delingette, H.; Ayache, N.; Sermesant, M. (The Eurographics Association, 2008)Processing and visualisation of dynamic data is still a common challenge in medical imaging, especially as for many applications there is an increasing amount of clinical data as well as generated data, such as in cardiac ... -
Echocardiogram Simulator based on Computer-Simulated Heart
Hirota, Koichi; Okada, J.; Washio, T.; Hisada, T.; Sugiura, S. (The Eurographics Association, 2009)In this paper, we report our approaches to implementing an echocardiography simulator for medical training. The simulator provides experience of diagnosis by echocardiography using normal and endoscope probes; the user ...