Implementation for the shape sampling and measurement part of the paper Korosteleva, Kesdogan, Kemper, Wenninger, Koller, Zhang, Botsch, Sorkine-Hornung "GarmentCodeData: A Dataset of 3D Made-to-Measure Garments With Sewing Patterns".
You can find the garment fitting code here.
Clone this repository:
git clone https://github.com/mbotsch/GarmentMeasurements.gitCompile this project:
cd GarmentMeasurements
cmake -S . -B build
cmake --build build
cd build- cgal
- FBX SDK 2020.3
Before running CMake,
download
and extract the FBX SDK into the directory external/fbxsdk.
Install cgal using homebrew.
brew install cgal./generate_shapesChange PCA parameters as desired and save the skinned mesh. The mesh is saved in the current work directory as output.obj.
./measurements output.obj measurements.yaml