Magic3D: High-Resolution Text-to-3D Content Creation

Chen-Hsuan Lin, Jun Gao, Luming Tang, Towaki Takikawa, Xiaohui Zeng, Xun Huang, Karsten Kreis, Sanja Fidler, Ming-Yu Liu, Tsung-Yi Lin · DOI

Abstract

DreamFusion has recently demonstrated the utility of a pretrained text-to-image diffusion model to optimize Neural Radiance Fields (NeRF), achieving remarkable text-to-3D synthesis results. However, the method has two inherent limitations: (a) extremely slow optimization of NeRF and (b) low-resolution image space supervision on NeRF, leading to low-quality 3D models with a long processing time. In this paper, we address these limitations by utilizing a two-stage optimization framework. First, we obtain a coarse model using a low-resolution diffusion prior and accelerate with a sparse 3D hash grid structure. Using the coarse representation as the initialization, we further optimize a textured 3D mesh model with an efficient differentiable renderer interacting with a high-resolution latent diffusion model. Our method, dubbed Magic3D, can create high-quality 3D mesh models in 40 minutes, which is 2× faster than DreamFusion, while also achieving higher resolution. User studies show 61.7% of raters prefer our approach over DreamFusion. Together with image-conditioned generation capabilities, we provide users with new ways to control 3D synthesis, opening up new avenues to various creative applications.

Introduction

While text-to-image generation has exploded in capability, text-to-3D has lagged behind. The primary bottleneck is the lack of massive, diverse 3D datasets compared to the billions of images available online. Recent breakthroughs like DreamFusion bypassed this by using a "Score Distillation Sampling" (SDS) loss, which uses a pre-trained 2D diffusion model as a "critic" to optimize a 3D Neural Radiance Field (NeRF). However, DreamFusion suffers from two major flaws: low resolution (relying on 64x64 image supervision) and computational inefficiency.

Magic3D generates high-fidelity 3D models with complex geometries, such as this detailed castle.

Magic3D aims to break the resolution barrier and speed up the process, making 3D content creation more practical for artists and developers by providing 8x higher resolution supervision than previous state-of-the-art methods.

Methodology

Magic3D utilizes a coarse-to-fine optimization strategy that switches 3D representations mid-way through the process to balance flexibility and efficiency.

Stage 1: Coarse Optimization (Neural Field)

Like DreamFusion, this stage "grows" a 3D shape from scratch. However, Magic3D uses a sparse 3D hash grid (inspired by Instant NGP) to represent the neural field. This is significantly faster than standard MLP-based NeRFs. It uses a low-resolution diffusion prior (eDiff-I) to establish the basic geometry and color in approximately 15 minutes.

Stage 2: Fine Optimization (Textured Mesh)

Once a coarse shape exists, the model extracts a 3D mesh using Deep Marching Tetrahedra (DMTet). While neural fields are excellent for finding topology, meshes are much more efficient for high-resolution rendering. In this stage, a high-resolution Latent Diffusion Model (Stable Diffusion) supervises the mesh at 512x512 resolution. By using a differentiable rasterizer, the system renders high-res images and backpropagates gradients to the mesh's vertices and textures, recovering fine details like fur, jewelry, or intricate mechanical parts.

Results and Discussion

Magic3D generates high-quality models in roughly 40 minutes (15 min coarse + 25 min fine), which is 2x faster than DreamFusion’s reported 1.5-hour average. Qualitatively, the 8x increase in resolution supervision allows the model to move beyond "global" shape matching to "local" texture and geometric refinement.

Fine-stage optimization recovers intricate textures, like individual chocolate chips and the smooth surface of a bunny figurine.

In a blind user study, 61.7% of raters preferred Magic3D over DreamFusion. The paper also demonstrates controllability through integration with DreamBooth, allowing users to generate high-quality 3D models of specific subjects (e.g., a specific pet) from text prompts.

Conclusion

Magic3D represents a significant advancement in text-to-3D synthesis by combining the topological flexibility of neural fields with the rendering efficiency of meshes. While it still faces challenges like the "Janus" (multi-face) problem and remains too slow for real-time interactive use, it significantly lowers the barrier for high-fidelity 3D asset creation. Future work will likely focus on further reducing computational costs and improving the 3D consistency of the underlying 2D diffusion priors.

Summary updated

BibTeX
@misc{lin2022magic,
  author = {Chen-Hsuan Lin and Jun Gao and Luming Tang and Towaki Takikawa and Xiaohui Zeng and Xun Huang and Karsten Kreis and Sanja Fidler and Ming-Yu Liu and Tsung-Yi Lin},
  title = {{Magic3D: High-Resolution Text-to-3D Content Creation}},
  year = {2022},
  eprint = {2211.10440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.10440},
}
Figure