Abstract
Surface parameterization, the process of mapping 3D surfaces onto a 2D plane, is a fundamental task in computer graphics, yet traditional methods remain constrained by manual intervention and rigid connectivity requirements. We introduce the Flatten Anything Model (FAM), a universal, unsupervised neural framework designed to automate UV unwrapping for complex 3D surfaces. By operating directly on discrete point clouds and utilizing a bi-directional cycle mapping architecture, FAM adaptively learns optimal cutting seams and UV coordinates. Our approach eliminates the need for high-quality meshes or human-defined "cuts," making it uniquely robust for the unstructured data typical of modern 3D scanning and AI-generated content. Experimental results demonstrate that FAM achieves superior conformality and handles high-genus topologies that cause traditional algorithms to fail.
Introduction
In the realm of 3D geometry processing, surface parameterization—often called UV unwrapping—serves as the bridge between 3D shapes and 2D textures. It is the backbone of texturing, remeshing, and various geometry synthesis tasks. Traditionally, this process is labor-intensive, requiring human artists to manually select "cutting seams" to open a closed surface before an algorithm flattens it.
Existing algorithms, such as Least Squares Conformal Maps (LSCM) or Angle Based Flattening (ABF), are highly sensitive to mesh quality. They require perfect connectivity and often struggle with the "unruly" data produced by modern 3D scanners or AI-based generation (3D AIGC), which frequently lack clean manifold structures. The Flatten Anything Model (FAM) addresses these bottlenecks by providing a mesh-agnostic, fully automated solution that jointly optimizes cutting and flattening in an unsupervised manner.
Methodology
Bi-directional Cycle Mapping
FAM utilizes a framework built on multi-layer perceptrons (MLPs) that operates through two parallel, reversible branches to ensure mapping accuracy and consistency:
- 2D → 3D → 2D Branch: This branch begins with a 2D grid, which is deformed into optimal UV coordinates by Deform-Net. These coordinates are then wrapped onto the 3D surface via Wrap-Net and subsequently flattened back to 2D using Unwrap-Net.
- 3D → 2D → 3D Branch: This branch processes input 3D points directly. Cut-Net adaptively "tears" the surface to create an open manifold, which is then flattened to UV space by Unwrap-Net and reconstructed back to 3D by Wrap-Net.
Key Innovations
- Cut-Net: A critical component of FAM is its ability to handle complex topologies (e.g., objects with holes or handles) without human intervention. Cut-Net learns point-wise offsets to identify where a surface should be separated, allowing the model to handle high-genus objects like tori or Mobius strips automatically.
- Unsupervised Objective: The model does not require ground-truth UV maps. Instead, it optimizes for conformality (preserving local angles), unwrapping (preventing overlapping UV coordinates), and cycle consistency (ensuring that points return to their original coordinates after a full mapping loop).
- Mesh-Agnostic Processing: By operating on discrete point clouds rather than edges and faces, FAM is indifferent to the underlying connectivity of the data, making it compatible with both high-quality CAD models and noisy raw scans.
Experimental Results
Quantitative Performance
FAM was evaluated against state-of-the-art traditional methods like SLIM. In quantitative tests, FAM consistently achieved significantly lower angle distortion. For instance, on a standard human face model, FAM achieved a conformality metric of 0.074, compared to 0.635 for SLIM. This indicates that the neural approach preserves the geometric integrity of the surface more effectively than traditional linear solvers.
Topological Robustness
The model's versatility was tested across a variety of challenging geometries, including:
- Open Surfaces: Human faces, hands, and clothing.
- Complex Topologies: Brain models, dragons, and high-genus objects like the "fertility" model (which contains multiple holes).
- Unstructured Data: FAM successfully parameterized point clouds with up to 4% Gaussian noise, demonstrating a level of robustness that traditional mesh-based flatteners cannot match.
Efficiency
While traditional methods vary in runtime based on the number of polygons and the complexity of the cut, FAM’s optimization time is relatively stable. On a single GPU, the model typically requires approximately 18 minutes to optimize for a specific 3D shape, regardless of its initial connectivity quality.
Discussion and Limitations
FAM represents a significant shift toward the "Flatten Anything" philosophy, where the constraints of mesh topology are removed. By exploiting the "spectral bias" of neural networks—the tendency to favor smooth functions—the model naturally produces smooth UV maps even across learned seams.
However, several challenges remain:
- Per-Model Optimization: FAM currently requires a separate optimization process for every new model. It is not yet a generalizable "foundation model" capable of zero-shot flattening.
- Seam Aesthetics: While the learned cuts are mathematically functional, they may not always align with the aesthetic preferences of 3D artists (e.g., hiding seams in natural creases).
- Interior Complexity: The model performs best on manifold-like surfaces and can struggle with highly intricate interior geometries found in complex mechanical CAD models.
Conclusion
The Flatten Anything Model provides a robust, unsupervised alternative to traditional surface parameterization. By automating the cutting process and removing the dependency on clean mesh connectivity, FAM paves the way for more scalable and automated 3D content creation pipelines, particularly in the burgeoning field of AI-generated 3D assets.
Summary updated