https://github.com/jerenchen/deformxfer
A C++ header-only implementation of "Deformation Transfer for Triangle Meshes"
https://github.com/jerenchen/deformxfer
facial-animation geometry-processing mesh-deformation
Last synced: 6 months ago
JSON representation
A C++ header-only implementation of "Deformation Transfer for Triangle Meshes"
- Host: GitHub
- URL: https://github.com/jerenchen/deformxfer
- Owner: jerenchen
- License: bsd-3-clause
- Created: 2021-10-05T22:54:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-02T06:46:40.000Z (almost 4 years ago)
- Last Synced: 2025-04-12T21:43:15.693Z (6 months ago)
- Topics: facial-animation, geometry-processing, mesh-deformation
- Language: C++
- Homepage:
- Size: 12.5 MB
- Stars: 46
- Watchers: 2
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DeformXfer
An Eigen/libIGL (C++) implementation of [Deformation Transfer for Triangle Meshes](https://people.csail.mit.edu/sumner/research/deftransfer/), largely based on the Python implementation of [Landmark-guided Deformation Transfer of Template Facial Expressions for Automatic Generation of Avatar Blendshapes](https://github.com/diegothomas/Avatar-generation-3DRW2019-).
## Demo Videos
| [](https://youtu.be/Uc_37SjT8us) |
| :--: |
| *Transferring deformation from a human avatar (driven by blendshapes) to a horse head.* || [](https://youtu.be/hjm96S8C7pc) |
| :--: |
| *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:
```console
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:
```console
./dx_demo
```## License
_DeformXfer_ is licensed under the the _BSD 3-Clause "New" or "Revised"_ license.