TL;DR
TEXGen is a 700-million parameter diffusion model that generates high-quality, high-resolution UV texture maps for 3D meshes in a single feed-forward pass. By interleaving 2D convolutions on UV maps with 3D attention on point clouds, it achieves state-of-the-art results in under 10 seconds while effectively eliminating the "Janus problem" common in 2D-to-3D lifting methods.
What Problem Does This Paper Address?
Texturing 3D meshes is a bottleneck in digital content creation. Current state-of-the-art methods typically rely on "lifting" pre-trained 2D image diffusion models (like Stable Diffusion) into 3D space. This usually involves test-time optimization, where a model iteratively paints a mesh from different angles.
This approach has three major flaws:
- Speed: It is incredibly slow, often taking minutes per object.
- The Janus Problem: Because the 2D model doesn't "know" it's looking at a 3D object, it often generates multiple faces or inconsistent features (e.g., a horse with two heads).
- UV Fragmentation: Learning directly in the UV texture space is difficult because UV maps flatten 3D surfaces into 2D "islands." Points that are neighbors on the 3D surface might be miles apart on the 2D UV map, leading to visible seams and global inconsistency.
TEXGen aims to solve these by training a large-scale model that understands both the 2D pixel-level details and the 3D global topology simultaneously.
Methods
The core innovation is the Hybrid 2D-3D Block. The authors argue that neither 2D nor 3D processing is sufficient on its own.
- 2D UV Head: Uses standard convolutions on the UV map. This is computationally efficient and excellent at capturing high-resolution local textures and patterns.
- 3D Point Cloud Block: To fix the fragmentation of UV islands, the model projects UV features back into 3D space as a point cloud. It then uses Serialized Attention (using space-filling curves like the Hilbert curve for efficiency) to allow distant UV islands to "talk" to each other based on their actual 3D proximity.
- Diffusion Framework: The model is a 700M parameter U-Net-style diffusion model using v-prediction. It is conditioned on both text prompts (via CLIP) and single-view images.
- Condition Modulation: Inspired by Diffusion Transformers (DiT), the model uses Adaptive Layer Norm (adaLN) to inject global text and image embeddings into every block of the network.
Datasets
The authors used Objaverse as their raw data source, which contains over 800,000 3D meshes. However, raw 3D data is notoriously messy. They performed extensive preprocessing:
- Cleaning: Filtered for high-quality textures.
- Re-parameterization: Used
xatlasto re-unfold UVs into a single, consistent atlas for every model. - Captioning: Used the Gemini multimodal model to generate descriptive captions for each asset based on rendered images.
- Final Split: The resulting dataset consists of 120,400 data pairs (120k for training, 400 for evaluation).
Key Insights and Ideas
- The 2D-3D Synergy: The "aha moment" is the realization that 2D convolutions are the best way to get high-res details, but 3D attention is the only way to ensure those details make sense across the whole object. By interleaving them, the model maintains the efficiency of 2D while gaining the spatial awareness of 3D.
- Feed-Forward vs. Optimization: By moving from test-time optimization to a feed-forward generative model, the authors prove that texture distribution can be learned as a general prior, much like image distribution was learned by models like DALL-E.
- Zero-Shot Versatility: Even though it was trained for text/image-to-texture, the model naturally supports inpainting (filling in holes) and sparse-view completion (merging a few photos into a full texture) without any additional fine-tuning.
Key Results
- Inference Speed: TEXGen generates a full texture in ~10 seconds on a single A100 GPU. For comparison, previous methods like Text2Tex take ~344 seconds.
- Quantitative Superiority: In terms of FID (Frechet Inception Distance) and KID (Kernel Inception Distance), TEXGen significantly outperforms existing methods like TEXTure and Paint3D.
- Qualitative Quality: The model produces textures that are globally coherent and high-resolution. Most importantly, it avoids the Janus problem entirely because the 3D point cloud blocks enforce a single, consistent global structure.
- Human Preference: In user studies, TEXGen was preferred 69.3% of the time compared to the next best competitor (Paint3D) at 16.5%.
Limitations and Future Work
- Alignment Requirements: Currently, the input condition images need to be somewhat pose-aligned and shape-aligned with the target mesh. The authors suggest using cross-attention mechanisms in the future to allow for more "arbitrary" texture transfer.
- Diffuse Only: The current model only generates diffuse (color) maps. It does not yet produce PBR (Physically Based Rendering) materials like roughness, metallic, or normal maps, which are essential for high-end game engines.
- Dataset Bias: While 120k samples is large for 3D, it is tiny compared to the billions of images used to train 2D models. Expanding the dataset remains a primary goal for improving generalization.
Summary updated