TL;DR
This paper introduces MaterialPicker, a novel multi-modal generative model that creates high-quality material maps (albedo, normal, roughness, etc.) from text prompts and/or image crops. It leverages a Diffusion Transformer (DiT) architecture, adapted from video generation, to accurately capture and reconstruct materials even from distorted or partially occluded real-world photos, significantly improving upon existing methods in speed and robustness.
What Problem Does This Paper Address?
Creating realistic materials for 3D environments and virtual content is crucial but challenging. Traditional methods require extensive capture setups with controlled lighting and camera poses, limiting their use with "in-the-wild" photographs. While recent machine learning approaches have made progress, they often struggle with distorted images, require specific capture conditions, or are trained from scratch, limiting their generalization and diversity. This paper aims to bridge this gap by enabling users to "pick" materials from any photograph, even if it's imperfect, and generate high-quality, consistent material maps.
Methods
The core of MaterialPicker is a Diffusion Transformer (DiT) architecture, specifically adapted from a pre-trained text-to-video model. This approach is novel because it leverages the strong priors learned by large-scale video models. The authors treat material maps (albedo, normal, roughness, height, metallicity) as sequential "frames" in a video. This allows the DiT to generate multiple related maps simultaneously, enforcing spatial consistency.
Key methodological aspects include:
- Multi-modality: The model accepts text prompts, image crops, or both, allowing for flexible control and guidance.
- Image-conditioned generation: It can extract materials from image crops, even if the surface is distorted, viewed at an angle, or partially occluded.
- Mask prediction: Uniquely, MaterialPicker also predicts a mask indicating the dominant material region, eliminating the need for manual masking.
- Dataset adaptation: The DiT model is finetuned on a combination of synthetic scene data and a large text-to-material dataset to improve robustness and diversity.
Datasets
The authors introduce two datasets:
- Scenes Dataset: A synthetic dataset comprising 100,000 high-resolution rendered images of indoor scenes with randomly placed objects and materials. This dataset is used to train the model for image-conditioned material generation.
- Materials Dataset: An augmented dataset of 800,000 cropped material maps, sourced from existing public datasets and labeled with material names for text-to-material generation.
Together, these datasets enable joint training for both surface rectification and high-quality material generation.
Key Insights and Ideas
- Video DiT for Materials: Adapting a pre-trained text-to-video DiT model for material generation is highly effective. It leverages powerful learned priors, leading to better generalization and robustness compared to training from scratch or modifying image-based diffusion models.
- Implicit Distortion Correction: The DiT's ability to process sequential data (frames) naturally helps in rectifying distortions and perspective issues present in input images, a significant advantage over methods requiring explicit rectification steps.
- Mask Prediction as a Byproduct: The model's ability to automatically predict a material mask alongside the material maps is a valuable feature, simplifying the user workflow and reducing reliance on external segmentation tools.
- Multi-modality Enhances Control: Combining text and image inputs provides a powerful way to guide material generation, allowing the model to disambiguate properties like specularity and metallic appearance, which can be ambiguous in images alone.
Key Results
- Speed: MaterialPicker generates materials in 12 seconds using DDIM with 50 diffusion steps, a 15x speedup compared to Material Palette (3 minutes).
- Accuracy: Quantitative evaluations show MaterialPicker outperforms Material Palette in material extraction metrics (CLIP-I and DINO), particularly for normal and roughness maps.
- Robustness: The model demonstrates strong robustness to distortions, varying lighting conditions, and partial occlusions in real-world photographs.
- Generalization: It successfully generates plausible materials for complex patterns, animal fur, plant surfaces, and abstract textures, extending beyond typical indoor/outdoor scenes.
- Qualitative Improvements: Visual comparisons show MaterialPicker produces material maps with closer texture appearance, better matching ground truth and input images, and rectifies distortions more effectively than competing methods.
Limitations and Future Work
- Transparency and Refraction: The current model struggles with materials exhibiting transparency, refraction, or complex BRDF components like subsurface scattering. This is attributed to the lack of specific training data for these effects.
- Semantic Patterns: Preserving semantically meaningful patterns, such as text, remains a challenge.
- Future Work: The authors suggest incorporating more advanced material maps (e.g., specular, coat, subsurface scattering) and expanding the training datasets to address these limitations. They also highlight the flexibility of the DiT architecture for generating additional output channels.
Summary updated