TL;DR
SeamCrafter is an autoregressive, GPT-style model that generates clean, artist-friendly seam cuts on 3D meshes for UV unwrapping. By combining a dual-branch point cloud encoder (which disentangles mesh topology from surface geometry) with Direct Preference Optimization (DPO) tailored to balance distortion against island fragmentation, SeamCrafter produces compact, low-distortion UV layouts across both human-modeled and AI-generated assets.
What Problem Does This Paper Address?
Before a 3D model can be textured, it must be "unwrapped" (flattened onto a 2D plane) via UV parameterization. To do this, the surface must be sliced along cut lines called mesh seams.
Finding the right seams involves a difficult trade-off:
- Too few cuts cause severe conformal stretching or compression (high UV distortion), making textures warp.
- Too many cuts tear the mesh into hundreds of tiny pieces (high UV fragmentation), disrupting texture continuity and making manual painting in tools like Blender or Substance Painter nearly impossible.
Classical heuristics (like XAtlas) and coordinate optimization methods often generate heavily fragmented atlases. Meanwhile, recent learning-based methods (such as SeamGPT) lean too heavily on vertex-edge topology, lacking geometric awareness and often outputting redundant, unnatural cuts.
Methods
SeamCrafter splits seam generation into an autoregressive generative task conditioned on 3D geometry, followed by preference alignment:
[Mesh Input] ──┬─► Topology Points (Vertices/Edges) ──► VecSet Encoder ┐
└─► Surface Points (Uniform Sample) ──► VecSet Encoder ┴─► [Hourglass Transformer]
│
Generates Seam Tokens
│
DPO Post-Training
(Distortion vs Fragmentation)
- Dual-Branch Point-Cloud Encoder:
- Topology Branch ($E_t$): Samples points along mesh vertices and edge skeletons to encode the underlying graph structure.
- Geometry Branch ($E_g$): Samples points uniformly across the surface to capture local shape contours and spatial coverage.
- Both streams are processed using VecSet encoders and concatenated into a unified shape embedding.
- Hourglass Autoregressive Decoder:
- Seams are represented as sequences of 3D endpoint pairs quantized into discrete coordinate bins.
- A 24-layer Hourglass Transformer performs hierarchical sequence downsampling and causal upsampling to predict cut endpoints.
- Geodesic Surface Projection:
- Predicted 3D endpoints are mapped to their nearest mesh vertices, and the shortest geodesic path between them over the mesh graph is marked as the final seam.
- Preference Alignment via DPO:
- Supervised learning struggles with the nuanced aesthetic trade-off between distortion and seam density.
- The authors curate 4,000 preference pairs where candidate seams are judged on two automatic criteria: UV Fidelity (normalized symmetric Dirichlet energy) and Fragmentation Density (number of UV islands).
- A candidate is strictly preferred ($S_M^+ \succ S_M^-$) only if it has both lower distortion and fewer UV islands. The policy is then optimized using Direct Preference Optimization (DPO).
Datasets
- Pre-training Corpus: ~700,000 meshes curated and repaired from Objaverse, Objaverse-XL, and 3D-FUTURE, retaining only models with valid, artist-designed UV layouts.
- Evaluation Benchmarks:
- Toys4K, ShapeNet, and the FAM-benchmark.
- AIGC-100 (New): A newly curated evaluation set of 100 AI-generated 3D meshes to test generalization on irregular, messy topologies.
Key Insights and Ideas
- Decoupling Topology from Geometry: AI-generated meshes often have messy, irregular edge flows. By feeding the model both a surface-level geometric point cloud and a skeleton-level topological point cloud, the model avoids getting misled by bad edge wiring.
- DPO Eliminates Metric Compromises: Training strictly to minimize distortion leads to excessive cutting (127+ fragments), while optimizing solely to reduce fragments causes extreme stretching (distortion jumping to 72.8). Post-training with Pareto-dominant DPO pairs forces the network to find the "sweet spot" artists naturally target.
Key Results
SeamCrafter was benchmarked against traditional tools (XAtlas) and neural methods (FAM, Nuvo, SeamGPT):
- Lower Fragmentation: On ShapeNet, SeamCrafter achieved 91.28 fragments compared to SeamGPT’s 183.13 and XAtlas’s 800.43, while simultaneously reducing distortion to 32.60 (vs. 37.51 for SeamGPT and 35.82 for XAtlas).
- AI-Generated Mesh Robustness: On the AIGC-100 test set, SeamCrafter delivered 10.63 distortion with 33.72 fragments, compared to SeamGPT (14.43 / 68.77) and XAtlas (14.75 / 135.42).
- Efficiency: Generating seams takes roughly 10–60 seconds per mesh at inference, running comfortably within a 16 GB GPU memory budget.
Limitations and Future Work
- End-to-End Downstream Optimization: While the DPO step optimizes UV-space metrics, the pipeline currently stops at seam placement and geodesic snapping; it does not directly optimize downstream texture packing or resolution allocation.
- Future Directions: The authors plan to extend preference-guided reinforcement learning directly into downstream creative workflows, including text-to-texture generation, texture editing, and rigging/animation pipelines.
Summary updated