Code-as-Room: Generating 3D Rooms from Top-Down View Images via Agentic Code Synthesis
Summary
A novel MLLM-based agentic framework called Code-as-Room generates 3D indoor rooms by converting top-down images into executable Blender code through a structured execution harness with cross-stage memory to maintain context.
View Cached Full Text
Cached at: 05/19/26, 06:30 AM
Paper page - Code-as-Room: Generating 3D Rooms from Top-Down View Images via Agentic Code Synthesis
Source: https://huggingface.co/papers/2605.18451
Abstract
A novel MLLM-based agentic framework called Code-as-Room generates 3D indoor rooms by converting top-down images into executable Blender code through a structured execution harness with cross-stage memory to maintain context.
Designing realistic and functional 3D indoor rooms is essential for a wide range of applications, including interior design, virtual reality, gaming, and embodied AI. While recent MLLM-based approaches have shown great potential for3D room synthesisfrom textual descriptions or reference images, text-based methods struggle to capture precise spatial information, and existing image-conditioned agents suffer from instability and infinite looping when tasked with holistic room generation fromtop-down views. To address these limitations, we propose Code-as-Room, anMLLM-based agentic frameworkequipped with astructured execution harness, which represents 3D rooms withBlender codes. Given a top-down room image, the framework parses the reference image to extractscene elementsand theirspatial relationships, and synthesizes executable Blender code for geometry, materials, and lighting in a principled,multi-stage pipeline. Across-stage memorymodule is maintained throughout to mitigate context forgetting inherent to existing agent-based frameworks. We further introduce a dedicated benchmark for code-based3D room synthesis, encompassing various evaluation protocols. Based on our benchmark, comprehensive comparisons against existing agent-based methods are conducted to validate the effectiveness of our proposed execution harness.
View arXiv pageView PDFProject pageGitHub3Add to collection
Get this paper in your agent:
hf papers read 2605\.18451
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2605.18451 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2605.18451 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.18451 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
3DCodeVerse: Exploring 3D Worlds as Code
3DCodeVerse introduces a research ecosystem with a 2M-scale dataset of executable 3D code, a multi-agent DAG harness for automated generation and verification of 3D content, and empirical guidance showing fine-tuned open models achieve a 90% win rate against Claude Design (3D Object).
SceneMosaic: Efficient and Diverse Simulation-Ready Scene Generation via Hybrid Agentic Layout Evolution
SceneMosaic combines learned image priors with vision-language agents to efficiently generate diverse, physically valid indoor scenes, achieving a 24x speedup and improved physical validity over existing methods.
Roomer: Reflective Object-Grounded Model Editing and Repair for 3D Indoor Layout Synthesis
Roomer is a reflective repair framework that identifies and fixes local violations in 3D indoor layouts, using a vision-language model planner and deterministic solver, with new benchmarks Roomer-CC and Roomer-Eval.
SceneCode: Executable World Programs for Editable Indoor Scenes with Articulated Objects
SceneCode converts natural language prompts into executable code to generate interactive, simulation-ready indoor scenes with articulated objects, enabling fine-grained controllability and on-demand asset creation.
LEGO-Anything: Coding Agents for 3D Scene Reconstruction
LEGO-Anything presents an image-to-code framework where coding agents iteratively write Blender code to reconstruct 3D scenes from single images, evaluated on the new LEGO-Bench benchmark, with LEGO-Plugin enhancing performance.