Abstract
UV unwrapping is a fundamental process in 3D content creation, involving the flattening of 3D surfaces into 2D planes for texturing. This process requires defining seams that balance texture distortion against mesh fragmentation—a task traditionally requiring significant manual effort. We introduce SeamCrafter, an autoregressive model that automates seam generation. SeamCrafter employs a dual-branch encoder to integrate geometric and topological features and utilizes Direct Preference Optimization (DPO) to align model outputs with artist-preferred UV mapping qualities. Our approach achieves state-of-the-art performance on benchmarks like Toys4K and ShapeNet, offering a 50x speedup over optimization-based methods while producing higher-quality, less fragmented UV maps.
Introduction
In the 3D modeling pipeline, UV unwrapping is analogous to peeling an orange to lay its skin flat on a table. The "seams" are the cuts made to the mesh. Poorly placed seams lead to two primary issues: high distortion, where textures appear stretched, or high fragmentation, where the mesh is split into too many small "islands," making manual painting impossible. Traditional automated tools often fail to find the optimal balance, and recent neural approaches often neglect the 3D geometry in favor of mesh topology, leading to unstable results on complex or noisy meshes.
Methodology
SeamCrafter addresses these challenges through a three-stage pipeline designed to capture the nuances of 3D shapes and artist preferences.
Dual-Branch Encoding
To ensure the model understands both the "skeleton" and the "skin" of a mesh, SeamCrafter uses a dual-branch encoder. One branch samples points from the mesh's edges (topology), while the other samples points uniformly across the surface (geometry). This disentanglement allows the model to generalize across various mesh styles, including those with suboptimal wireframes typical of AI-generated content.
Direct Preference Optimization (DPO)
A key innovation is the application of Direct Preference Optimization (DPO) to 3D mesh processing. Rather than simply imitating existing datasets, SeamCrafter is trained to prefer better UV maps. The researchers constructed a preference dataset by generating multiple seam candidates and ranking them based on a combined metric of UV distortion and fragmentation density.
Evaluation and Results
The model was trained on a massive dataset of 700,000 meshes from Objaverse and 3D-FUTURE. Evaluation on the Toys4K benchmark shows that SeamCrafter achieves a distortion score of 1.39, significantly lower than previous neural methods (1.85) and traditional algorithms like XAtlas (1.86).
Furthermore, SeamCrafter drastically reduces fragmentation. On the FAM-benchmark, it produced an average of 10.05 fragments per mesh, compared to approximately 30 for earlier models. In terms of efficiency, SeamCrafter processes meshes in roughly 50 seconds, whereas optimization-based competitors can take up to 5,000 seconds, making it viable for interactive artist workflows.
Conclusion
SeamCrafter represents a significant step forward in automating artist-centric UV unwrapping. By combining geometric awareness with preference-based reinforcement learning, it produces high-quality seams suitable for professional workflows. Future work will focus on incorporating semantic information to ensure seams are placed appropriately for animated characters, avoiding artifacts during joint deformation.
Summary updated