YxuanAr / Code-as-Room
PublicA MLLM-based agentic system converts a single room image into executable Blender code for 3D room reconstruction.
Code-as-Room is an AI-powered research tool that transforms a simple top-down photograph of any room into a complete, renderable 3D scene. The system uses a multi-stage pipeline where AI agents analyze the room layout, generate 3D geometry code, apply realistic materials and textures, and set up professional lighting - all outputting a Blender Python script that produces photorealistic 3D rooms for architecture, robotics training, or game development.
How It Works
Take a top-down photo of any room - a bedroom, lab, office, or kitchen - and upload it to the tool.
The system studies your image to identify furniture, walls, and how everything is arranged, just like looking at a floor plan.
Behind the scenes, the tool writes code that builds your room in Blender - walls, floors, furniture, all positioned correctly.
The system adds realistic materials - wood grain on furniture, tile patterns on floors, paint on walls - matching your room's style.
A complete Blender script is generated that you can open in Blender to see your photorealistic 3D room come to life.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.