This repository contains the implementation of Deep Detail Enhancment for Any Garment proposed in Eurographics 2021
Ref. to [http://geometry.cs.ucl.ac.uk/projects/2021/DeepDetailEnhance/paper_docs/DeepDetailEnhance.pdf]
We provide Google drive links for downloading the training data, the network checkpoint and two multi-layer garment models (Marvelouse Desigener):
This folder contains the pytorch implemetation of deep detail enhancement network and the material classifier. In order to generalize our approach across different 2D parameterizations, we adopt a patch-based approach. Instead of operating with complete normal maps, we use patches cut from the normal maps as input and output of our network. If you want to retrain either of the two models, please first run "PatchPrepare.py" on the complete normal maps to generate random cropped patches as training data.
This folder contains code to alginment different resolution garment geometries. The C++ code in ./geo_prepare depends on the library of OpenCV and embree.
If you use our code or model, please cite our paper:
@inproceedings{zhang2021deep, title={Deep detail enhancement for any garment}, author={Zhang, Meng and Wang, Tuanfeng and Ceylan, Duygu and Mitra, Niloy J}, booktitle={Computer Graphics Forum}, volume={40}, number={2}, pages={399--411}, year={2021}, organization={Wiley Online Library} }