git clone https://github.com/corentinDumery/TODO
git submodule update --init --recursive
mkdir build && cd build
cmake ..
make -j woven_param #build library
make -j woven_viz #build test app
./woven_viz [path/to/input/mesh.obj]
- Shearing: we allow threads to shear, if this helps reduce stretch on the grain axes.
- Vertical alignment: patterns are aligned with the vertical axis in 3D.
- Reflectability: opposite sides or seams are constrainted to be a reflection. This makes sewing significantly easier.
- Multiple poses: given multiple target 3D meshes representing different poses, we produce a 2D pattern that best fits all targets.
git add submodule https://github.com/corentinDumery/TODO
git submodule update --init --recursive
Then, in your CMakeLists.txt
, add:
add_subdirectory([path_to_woven_param]/woven-param)
...
target_link_libraries([target] woven_param)
Thank you for reading! If this repository is useful to you, feel free to reach out and/or cite our paper:
TODO
Some of the models used in this repository are adapted from Generating Datasets of 3D Garments with Sewing Patterns by Maria Korosteleva and Sung-Hee Lee.