Skip to content
/ iARAP Public

Code for paper Isotropic ARAP energy using Cauchy-Green invariants

Notifications You must be signed in to change notification settings

LamWS/iARAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isotropic-ARAP-energy-using-Cauchy-Green-invariants

Demo code for volumetric dynamic simulation in paper Isotropic-ARAP-energy-using-Cauchy-Green-invariants. Given a volumetric mesh as the input, this code output the simulation of dropping the mesh to the ground.

Paper, supplementary, video, and code are now available.

Usage

$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./arap ../data/<cube5.msh>

The result sequence will be output to build/output by default.

Please check the code in main.cpp and parameters.h for more configuration.

Abstract

Isotropic As-Rigid-As-Possible (ARAP) energy has been popular for shape editing, mesh parametrisation and soft-body simulation for almost two decades. However, a formulation using Cauchy-Green (CG) invariants has always been unclear, due to a rotation-polluted trace term that cannot be directly expressed using these invariants. We show how this incongruent trace term can be understood via an implicit relationship to the CG invariants. Our analysis reveals this relationship to be a polynomial where the roots equate to the trace term, and where the derivatives also give rise to closed-form expressions of the Hessian to guarantee positive semi-definiteness for a fast and concise Newton-type implicit time integration. A consequence of this analysis is a novel analytical formulation to compute rotations and singular values of deformation-gradient tensors without explicit/numerical factorization, which is significant, resulting in up to 3.5x speedup and benefits energy function evaluation for reducing solver time. We validate our energy formulation by experiments and comparison, demonstrating that our resulting eigendecomposition using the CG invariants is equivalent to existing ARAP formulations. We thus reveal isotropic ARAP energy to be a member of the "Cauchy-Green club", meaning that it can indeed be defined using CG invariants and therefore that the closed-form expressions of the resulting Hessian are shared with other energies written in their terms.

About

Code for paper Isotropic ARAP energy using Cauchy-Green invariants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages