An implementation of Efficient and Flexible Deformation Representation for Data-Driven Surface Modeling forked from here.
The only dependencies are the C++ stl, eigen, libigl.
Compile this project using the standard cmake routine:
mkdir build
cd build
cmake ..
make
This should find and build the dependencies and create two binaries rimdtomesh_bin
and meshtorimd_bin
.
Program 1:
meshtorimd_bin mesh0.ply mesh1.ply rimd.txt
this will write the rimd feature to rimd.txt
Program 2:
meshtorimd_bin mesh0.ply rimd.txt out.ply
this will reconstruct the mesh from the rimd to out.ply