Skip to content

jklae/PBDEnergyProjection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBDEnergyProjection

Overview

demo

PBDEnergyProjection is a simulation of deformable objects with the numerical energy-projection. Here, we implement eXtended Position Based Dynamics (XPBD)1, Small Steps technique2 and Hamiltonian projection of Fast Energy-PRojection (FEPR)3. This simulation is rendered using DXViewer.

Build

This repo was developed in the following environment:

  • Windows 10 64-bit
  • Microsoft Visual Studio 2019 on x64 platform (C++14)
  • CMake 3.19.0
  • DXViewer 3.1.0

You should update submodules before creating a project with cmake.

git submodule update --progress --init -- "ext/DXViewer"

Results

graph

Reference

  • [1] Macklin, Miles, Matthias Müller, and Nuttapong Chentanez. "XPBD: position-based simulation of compliant constrained dynamics." Proceedings of the 9th International Conference on Motion in Games. 2016.
  • [2] Macklin, Miles, et al. "Small steps in physics simulation." Proceedings of the 18th annual ACM SIGGRAPH/Eurographics Symposium on Computer Animation. 2019. (2014).
  • [3] Dinev, Dimitar, et al. "FEPR: Fast energy projection for real-time simulation of deformable objects." ACM Transactions on Graphics (TOG) 37.4 (2018): 1-12.