Abstract
We present 3D Paintbrush, a technique for automatically texturing local semantic regions on meshes via text descriptions. Our method operates directly on meshes, producing texture maps that seamlessly integrate into standard graphics pipelines. By simultaneously producing a localization map and a texture map, we improve the quality of both the localization and the stylization. To enhance detail and resolution, we introduce Cascaded Score Distillation (CSD), which distills scores from multiple stages of a cascaded diffusion model. This enables control over both the granularity and global understanding of the supervision, allowing for high-fidelity local textures on a variety of shapes.
Introduction
While text-to-3D generation has advanced rapidly, most tools focus on global generation. However, real-world 3D workflows often require local editing—adding a specific logo, changing the material of a single part, or accessorizing a character. Existing local editing methods often suffer from coarse localization (fuzzy boundaries) and pipeline incompatibility, as they frequently target NeRFs or voxels rather than industry-standard meshes.
3D Paintbrush addresses these challenges by producing high-fidelity, sharp-edged local textures that are natively compatible with standard graphics engines. It bridges the gap between generative AI and professional 3D workflows.
Methodology: Cascaded Score Distillation
The core of 3D Paintbrush is a multi-branch architecture representing the 3D surface using Neural Fields (MLPs). Instead of optimizing pixels, the system optimizes functions mapping 3D coordinates to color and mask values.
Cascaded Score Distillation (CSD)
Standard Score Distillation Sampling (SDS) typically utilizes only the base, low-resolution stage of a diffusion model, which provides global structure but lacks fine detail. CSD instead distills scores from multiple stages of a cascaded diffusion model (e.g., DeepFloyd IF):
- Stage 1 (Low-res): Provides "global awareness," ensuring the edit is placed in the semantically correct location (e.g., a necklace around the neck).
- Stage 2 (High-res): Provides "granularity," supervising the fine-grained details of the texture.
Simultaneous Optimization
Optimizing the localization mask and the texture map simultaneously creates a synergistic effect. The texture's details help refine the mask's boundaries, while the mask ensures the texture stays confined to the intended area. The system utilizes three branches: a Localization Branch, a Texture Branch, and a Background Branch. Explicitly modeling the background is essential for achieving sharp boundaries and preventing the edit from bleeding into unwanted areas.
Key Insights and Results
3D Paintbrush is triangulation-agnostic; because the texture is stored in a neural field and then baked into a UV map, quality is not limited by the density of the input mesh. By weighting gradients from different diffusion stages, users can control the trade-off between localization accuracy and texture detail.
Precision and Generality
The method produces significantly sharper and more accurate localization masks than previous state-of-the-art methods. This precision allows for complex composition, where multiple local textures can be layered onto a single mesh without artifacts at the boundaries. Furthermore, the method handles "out-of-domain" prompts effectively, demonstrating a deep understanding of both geometry and semantics.
Conclusion and Future Work
3D Paintbrush offers a powerful tool for local 3D editing, though it currently requires an optimization process for each edit and does not yet deform underlying geometry. Future work may extend this cascaded distillation logic to other properties like normal maps for surface bumpiness or material properties like roughness and metallicity, further enhancing the realism of local stylizations.
Summary updated