Abstract
The advancement of diffusion models has pushed the boundary of text-to-3D object generation. While it is straightforward to composite objects into a scene with reasonable geometry, it is nontrivial to texture such a scene perfectly due to style inconsistency and occlusions between objects. To tackle these problems, we propose a coarse-to-fine 3D scene texturing framework, referred to as RoomTex, to generate high-fidelity and style-consistent textures for untextured compositional scene meshes. In the coarse stage, RoomTex first unwraps the scene mesh to a panoramic depth map and leverages ControlNet to generate a room panorama, which is regarded as the coarse reference to ensure the global texture consistency. In the fine stage, based on the panoramic image and perspective depth maps, RoomTex will refine and texture every single object in the room iteratively along a series of selected camera views, until this object is completely painted. Moreover, we propose to maintain superior alignment between RGB and depth spaces via subtle edge detection methods. Extensive experiments show our method is capable of generating high-quality and diverse room textures, and more importantly, supporting interactive fine-grained texture control and flexible scene editing thanks to our inpainting-based framework and compositional mesh input.
Introduction
While text-to-3D generation has made massive strides for individual objects, texturing an entire indoor scene remains a "boss-level" challenge. Indoor scenes are inherently compositional, consisting of many different objects—such as chairs, tables, and lamps—that must all share a cohesive aesthetic. Existing methods often struggle with two main issues: style inconsistency, where objects appear mismatched, and occlusion artifacts, where standard projection methods cause "texture bleeding" or leave untextured holes behind foreground objects. RoomTex addresses these challenges through a coarse-to-fine framework that ensures global harmony while maintaining local detail.
The RoomTex Framework
RoomTex employs a multi-stage strategy to bridge the gap between global scene consistency and local object fidelity.
Coarse Stage: The Global Style Anchor
To prevent style drift, RoomTex establishes a "source of truth" before detailed painting begins. The system unwraps the untextured scene mesh into a panoramic depth map and utilizes ControlNet, conditioned on this depth, to generate a full 360-degree room panorama. This panorama locks in the lighting, color palette, and overall aesthetic for the entire environment.
Empty Room Refinement
To handle occlusions effectively, the system performs an "Empty Room Refinement." By temporarily removing all objects and inpainting the hidden areas of the walls, floors, and ceilings, RoomTex creates a complete, textured "shell." This ensures that if a user moves or deletes an object during later editing, the background remains realistically textured rather than leaving a hole.
Fine Stage: Iterative Object Texturing
Following the global setup, every object is textured individually. The system re-projects the global panorama onto the object to establish a starting point, then utilizes an iterative warping and inpainting pipeline. By moving a virtual camera around the object, the system uses diffusion-based inpainting for large missing areas and interpolation for minor gaps, ensuring the object is fully painted from all angles.
Technical Innovations
Geometry-Aware Alignment
To prevent texture "bleeding"—where the texture of a foreground object accidentally dilates onto the background geometry—RoomTex introduces a clever edge-detection module. By comparing Canny edges from the generated RGB image with Laplacian edges from the depth map, the system identifies and masks out areas where the texture does not perfectly align with the 3D geometry.
Compositional Flexibility
Because the input consists of separate object meshes rather than a single fused mesh, RoomTex naturally supports flexible scene editing. This compositional approach, combined with the pre-textured room shell, allows for interactive fine-grained control that is often impossible with optimization-based 3D generation methods.
Experimental Evaluation
The researchers evaluated RoomTex using professional layouts from 3D-FRONT, with initial meshes sourced from Shap-E and high-quality assets from Objaverse.
Quantitative and Qualitative Results
RoomTex was compared against state-of-the-art baselines, including TEXTure and SceneTex, demonstrating superior performance across multiple metrics:
- Aesthetic Quality: RoomTex achieved a leading Aesthetic Score of 5.20, compared to SceneTex (4.77) and TEXTure (5.11).
- User Study: In a study with 61 volunteers, RoomTex dominated in 3D Consistency (4.51/5) and Perceptual Quality (4.26/5).
- Visual Fidelity: Qualitative results show significantly sharper details on furniture and a remarkable absence of seams or "ghosting" in corners and occluded regions.
Limitations and Future Work
Despite its success, RoomTex faces a few hurdles. The iterative inpainting process is computationally expensive, requiring approximately 90 minutes to generate a complete scene on four NVIDIA A100 GPUs. Additionally, very intricate topologies, such as multi-layered chandeliers, can still pose challenges for the inpainting logic due to complex self-occlusions. The authors suggest that integrating multi-view diffusion models could potentially replace the iterative warping process in the future, making the pipeline both faster and more consistent.
Summary updated