Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.03 KB

README.md

File metadata and controls

20 lines (12 loc) · 1.03 KB

Framework for inverse animation editing based on differentiable simulation

This is my Bachelor's thesis. The aim was to develop a tool for Unity which allowed the estimation of various simulation parameters within Unity. It includes a differentiable physics engine built from scratch in C++, a Python module that does the optimizing using backpropagation to calculate the gradient of the loss function and a Unity project to display the results.

My Image

The framework is able to generate a simulation with some parameters for the mass and stiffness of a cloth and use numerical optimization combined with differentiable simulation and the backpropagation algorithm to guess those parameters based on the position of that simulation over many frames.

Installation

Requires Python 3.10 (only version that works).

To install the engine module for Python:

python -m pip install "/DifferentiablePhysicsEngine"

NumPy and SciPy are also required:

python -m pip install numpy

python -m pip install scipy