Abstract
Creating high-fidelity 3D clothing typically requires labor-intensive manual design. This paper introduces a GAN-based pipeline that automates the generation of 3D garment models from 2D sewing patterns and human body shapes. By utilizing a body-relative UV space to represent 3D cloth as 2D displacement maps, the system achieves topology-agnostic synthesis and seamless retargeting. Experimental results demonstrate high reconstruction accuracy and the ability to generalize to unseen clothing styles.
Introduction
The demand for realistic digital humans in virtual fashion, gaming, and telepresence has surged, yet 3D garment modeling remains a significant bottleneck. Traditional methods rely on specialized software like Marvelous Designer, which is time-consuming and difficult to scale. From a machine learning perspective, garments present a challenge due to their "irregular" nature—different styles possess varying numbers of vertices and connectivity (topologies).
Existing AI approaches often oversimplify the problem by restricting generation to specific categories (e.g., T-shirts) or requiring detailed sketches. Furthermore, "retargeting"—fitting a generated garment onto a new body shape—usually necessitates expensive physical simulations. This work proposes a unified method that handles diverse topologies and enables efficient retargeting by representing complex 3D geometry through 2D displacement images.
Methodology
2D Displacement Representation
The core innovation lies in mapping garment geometry onto the UV space of the human body. The process begins with a non-rigid Iterative Closest Point (ICP) algorithm that "shrink-wraps" the cloth onto the body. Using a Voronoi-based mapping, the system calculates the distance (displacement) of each cloth point from the body surface. This transforms a complex 3D mesh into a regular 512x512 2D image where pixel values represent distance, making the representation topology-agnostic.
Label Generation and Data Preparation
To bridge the gap between 2D design and 3D generation, the authors utilize sewing patterns to create "label images." These labels define the garment's topology and serve as a primary input to the generative network.
Network Architecture and Inference
The system employs a conditional Generative Adversarial Network (GAN) based on the Pix2PixHD architecture. The network takes a label map, human body pose and shape parameters (from the SMPL model), and a noise vector as inputs.
The training occurs in two phases: a reconstruction phase using standard GAN and feature losses, followed by a generalization phase that introduces a smoothness loss to encourage plausible results for unseen styles.
Dataset
Due to the lack of suitable public datasets, the authors synthesized a massive dataset comprising 260,000 garment instances across 104 types and 10 fabric materials. Poses were sampled from the Moshed CMU MoCap dataset, and ground truth data was generated using high-fidelity physics-based cloth simulation.
Results and Discussion
The proposed method achieves remarkable fidelity, with an average reconstruction error of less than 1%. Key advantages include:
- Topology Agnosticism: The model successfully generates "unseen" topologies, such as single-shoulder or backless dresses, by interpolating within the learned latent space.
- Efficient Retargeting: Since displacements are relative to the body, applying a garment to a new body shape is trivial and requires no additional optimization.
- Performance: The entire pipeline, from inference to 3D mesh reconstruction, takes approximately 2.2 seconds on an Nvidia GTX 1080, with the GAN inference itself taking only ~369ms.
Conclusion
This research provides a robust framework for generating 3D garments from 2D inputs. By leveraging body-relative UV space, the method overcomes the limitations of irregular mesh topologies and simplifies the retargeting process. Future work will focus on integrating fabric textures and handling multi-layered clothing, which currently poses a challenge for the single-displacement-value UV mapping.
Summary updated