DiffXPBD : Differentiable Position-Based Simulation of Compliant Constraint Dynamics

01/04/2023
by   Tuur Stuyck, et al.
0

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 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.

READ FULL TEXT

page 1

page 6

page 7

research
04/02/2021

DiffAqua: A Differentiable Computational Design Pipeline for Soft Underwater Swimmers with Shape Interpolation

The computational design of soft underwater swimmers is challenging beca...
research
07/02/2020

ADD: Analytically Differentiable Dynamics for Multi-Body Systems with Frictional Contact

We present a differentiable dynamics solver that is able to handle frict...
research
04/28/2023

Improving Gradient Computation for Differentiable Physics Simulation with Contacts

Differentiable simulation enables gradients to be back-propagated throug...
research
10/02/2018

ChainQueen: A Real-Time Differentiable Physical Simulator for Soft Robotics

Physical simulators have been widely used in robot planning and control....
research
05/13/2020

Recognition of 26 Degrees of Freedom of Hands Using Model-based approach and Depth-Color Images

In this study, we present an model-based approach to recognize full 26 d...
research
06/13/2022

A Versatile Pseudo-Rigid Body Modeling Method

A novel semi-analytical method is proposed to develop the pseudo-rigid-b...
research
08/01/2020

Optimized Processing of Localized Collisions in Projective Dynamics

We present a method for the efficient processing of contact and collisio...

Please sign up or login with your details

Forgot password? Click here to reset