jerenchen / deformxfer

A C++ header-only implementation of "Deformation Transfer for Triangle Meshes"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeformXfer

An Eigen/libIGL (C++) implementation of Deformation Transfer for Triangle Meshes, largely based on the Python implementation of Landmark-guided Deformation Transfer of Template Facial Expressions for Automatic Generation of Avatar Blendshapes.

Demo Videos

demo
Transferring deformation from a human avatar (driven by blendshapes) to a horse head.
morph
Morphing topology of the horse head to match the human avatar (for mapping mesh correspondences).

Building the Demo Program

Currently, DeformXfer has only been tested on MacOS.

To build the demo program with CMake, run the following commands in a shell:

git clone https://github.com/jerenchen/deformxfer
cd deformxfer
mkdir .build
cd .build
cmake -DCMAKE_CXX_FLAGS="-O3 -DNDEBUG" ..
make

Once building is complete, launch the demo program (in the same .build directory) by running:

./dx_demo

License

DeformXfer is licensed under the the BSD 3-Clause "New" or "Revised" license.

About

A C++ header-only implementation of "Deformation Transfer for Triangle Meshes"

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 92.6%Language:CMake 7.4%