Abstract
Generating high-fidelity textures for 3D meshes remains a significant challenge in computer vision and graphics, particularly when high-quality, aligned 3D-2D data is unavailable. Mesh2Tex addresses this by introducing a novel framework that generates realistic textures using a hybrid mesh-neural-field representation. By leveraging a "texture-by-example" approach, the system can optimize a 3D model’s texture to match an unaligned, real-world RGB image query, even when the underlying geometry is an inexact match. Experimental results demonstrate that Mesh2Tex significantly outperforms existing baselines in both quantitative realism and qualitative detail.
Introduction
While automated 3D geometry generation has seen rapid advancement, the process of texturing these models remains a bottleneck for achieving realism. Professional-grade 3D assets typically require extensive manual labor by artists to ensure textures are sharp and accurately mapped. Existing automated solutions often struggle with two primary issues: they either produce low-resolution, blurry textures or rely on perfectly aligned datasets where the 3D model exactly matches the object in the reference photograph.
In practical applications, users rarely possess a perfect 3D scan of a specific object seen in a photo. Instead, they often work with "proxy meshes"—3D models that are geometrically similar but not identical to the target. Mesh2Tex is designed to bridge this gap, generating high-fidelity textures from uncorrelated data and applying them to meshes based on noisy, unaligned image queries.
Methodology
The core innovation of Mesh2Tex lies in its hybrid mesh-field texture representation and its ability to learn from disconnected datasets.
1. Hybrid Mesh-Field Representation
Unlike traditional UV mapping or volumetric approaches like Neural Radiance Fields (NeRF), Mesh2Tex defines a neural field within the barycentric coordinate system of the mesh faces. By anchoring the texture to the surface geometry while allowing it to be sampled at arbitrary resolutions, the model can produce sharp, intricate details that remain consistent across the surface.
2. Adversarial Training on Uncorrelated Data
The framework utilizes a Generative Adversarial Network (GAN) architecture. A generator produces textures, and a differentiable renderer creates 2D views for a discriminator to evaluate against real-world photographs. Crucially, the training process does not require paired 3D models and 2D images. Instead, the model learns the mathematical manifold of a specific category (e.g., "cars" or "chairs") from independent collections of 3D shapes and 2D images.
3. Test-Time Optimization and Pose Estimation
To handle specific image queries at inference, the system navigates the learned texture manifold. It employs a Normalized Object Coordinate (NOC) predictor to estimate the pose of the object in the query image, establishing correspondences between 2D pixels and points on the 3D mesh.
4. Patch-Based Style Loss
To account for geometric discrepancies between the proxy mesh and the query image (such as a different headrest shape on a chair), the authors implement a patch-based style loss. This approach prioritizes the transfer of local textures and patterns over rigid, pixel-perfect spatial alignment, preventing distortions that typically occur when geometry does not match perfectly.
Experimental Setup and Datasets
The authors evaluated Mesh2Tex using several standard benchmarks to test its versatility across different object categories:
- ShapeNet: Provided the base 3D geometries for chairs and cars.
- ScanNet & PhotoShape: Used for real-world and high-quality chair images for training and query testing.
- CompCars: Provided real-world car imagery.
- Scan2CAD: Utilized for chair annotations to facilitate real-world query matching.
Results and Discussion
Mesh2Tex demonstrates a significant improvement over state-of-the-art baselines, including EG3D, GET3D, and Texturify.
Quantitative Performance
On the Fréchet Inception Distance (FID) metric, which measures the realism of generated images, Mesh2Tex showed substantial gains. For car textures, the model improved the FID score from 59.55 (Texturify) to 41.35. For chairs, it achieved a leading FID of 30.01.
Qualitative Analysis
Visual evaluations reveal that Mesh2Tex captures much sharper details than its predecessors. This includes recognizable car logos, specific upholstery patterns, and realistic specular highlights that respond naturally to the object's curvature. Furthermore, the model proved robust when processing cluttered or poorly lit real-world photos from the ScanNet dataset, where other methods often produced "messy" or striped artifacts.
Key Insights
- Surface-Centricity: By tying the neural field to the mesh surface via barycentric coordinates, the model avoids the "foggy" artifacts common in volumetric methods when geometry is imprecise.
- Scalability: The ability to learn from disconnected 2D and 3D datasets is a major advantage, as paired data is difficult and expensive to collect.
- Robustness: The use of NOC-guided patch losses effectively addresses the "proxy geometry" problem, focusing on perceptual style transfer rather than rigid mapping.
Limitations and Future Work
Currently, Mesh2Tex does not explicitly model semantics. The system does not "understand" that a specific part of a car is a wheel spoke, which can lead to texture stretching if the proxy mesh geometry differs significantly from the query image. Future research may focus on incorporating semantic awareness to ensure textures are consistently applied to the correct components and improving performance under heavy occlusion, such as when a person is partially blocking the object in the query photo.
Summary updated