Introduction
The rapid advancement of 2D generative AI has revolutionized digital art, yet high-quality 3D content creation remains a significant bottleneck. A primary challenge is "texturing"—the process of applying detailed surface colors and patterns to 3D meshes. Traditionally, this is a labor-intensive manual task. Existing automated solutions often struggle with two main issues: optimization-based methods (like CLIP-guided approaches) frequently produce low-resolution or repetitive patterns, and projection-based methods suffer from "stretching" artifacts where the texture becomes blurred at grazing angles.
Text2Tex addresses these challenges by introducing a novel framework that leverages depth-aware diffusion models to synthesize high-quality, consistent 3D textures from simple text prompts.
Methodology: The Generate-then-Refine Pipeline
Text2Tex utilizes a "generate-then-refine" strategy built upon a pre-trained depth-to-image diffusion model (Stable Diffusion v2). The core of the approach lies in its progressive synthesis and intelligent view management.
Progressive Generation and Masking
Rather than attempting to texture the entire mesh in a single pass, Text2Tex renders the mesh from a sequence of viewpoints. For each view, it employs a dynamic generation mask to guide the diffusion process. This mask partitions the visible surface into four distinct regions:
- New: Untextured areas requiring initial content generation.
- Update: Previously textured areas that were captured at suboptimal angles (resulting in stretching) and require refinement.
- Keep: Well-textured regions that are preserved to maintain global consistency.
- Ignore: Background pixels.
View Partitioning and Normal Analysis
To categorize pixels into these regions, the system analyzes the relationship between surface normals and the camera direction. Surfaces facing the camera directly are considered high-quality, while those tilted away are marked for future updates. This ensures that every part of the mesh eventually receives a high-fidelity texture from an optimal perspective.
Automatic Refinement via View Heat
Following the initial generation phase, the model enters a refinement stage. It utilizes a "view heat" algorithm to automatically identify the next best camera angles. By calculating which viewpoints observe the highest density of "stretched" or blurry pixels, the system prioritizes these views for a final high-fidelity pass, ensuring a seamless and sharp result across the entire geometry.
Experimental Evaluation
The authors evaluated Text2Tex using diverse datasets, including 410 high-quality meshes from Objaverse and 300 car meshes from ShapeNet.
Quantitative and Qualitative Performance
Text2Tex demonstrates superior performance compared to both general text-to-3D baselines and category-specific GANs. On the Objaverse dataset, the method achieved a Fréchet Inception Distance (FID) of 35.68, significantly outperforming the previous state-of-the-art, CLIPMesh (43.25). Lower FID scores indicate higher image quality and greater diversity in the generated outputs.
In a user preference study involving 41 participants, Text2Tex was preferred over competing methods like Latent-Paint and Text2Mesh between 64% and 84% of the time. Qualitatively, the model excels at semantic alignment—for instance, correctly placing "eyes" on a mesh's headlights when prompted to texture a car as an animal—and handles diverse styles ranging from "Baroque" to "Cyberpunk."
Discussion and Limitations
While Text2Tex represents a significant leap forward, several areas for improvement remain:
- Baked-in Lighting: Because the underlying diffusion model is trained on real-world photographs, it often incorporates shadows and highlights into the texture. This can be problematic for applications requiring dynamic lighting, suggesting a need for "albedo-only" fine-tuning.
- Computational Cost: Generating a texture currently takes approximately 15 minutes on an NVIDIA RTX A6000, which may be too slow for real-time workflows.
- Geometry Dependency: The quality of the output is heavily dependent on the underlying mesh quality and proper UV parameterization. If the 3D model is "messy," the texture projection will struggle.
Conclusion
Text2Tex provides a robust solution for automated 3D texturing by treating the problem as an iterative, depth-conditioned inpainting task. By intelligently managing viewpoints and addressing projection artifacts, it bridges the gap between 2D generative power and 3D consistency, offering a powerful tool for the next generation of 3D content creation.
Summary updated