Lab experiment · 2026
Rebuilding a room in Blender from a single photo, with Claude writing and running the code.
The pipeline in 37 seconds, from the reference photo to the final render.
I wanted to find out whether Claude, controlling Blender through code, could rebuild a room from one photo, and how much direction it would need from me.
Over two days and 277 messages, it produced a convincing room, but not a close match to the photo. I had to catch most of the problems myself.
Photo
Render
Drag to compare the photo with the final render. The walls, window and archway line up; the furniture doesn't.
How it was set up
Blender ran on my laptop with an MCP connector, which lets Claude send Python scripts for Blender to run. Claude never used Blender's interface. Every object, material, light and camera was created by a script.
To check its work, Claude rendered a frame, saved it to disk and looked at the image next to the reference photo. I looked at the same renders and gave feedback in the chat.
01Day 1
I used an AI-generated photo of a 90s wood-paneled den: plaid sofa, CRT TV, popcorn ceiling, drawings on the wall. Rooms are mostly made of boxes, which are easy to build with code. I'd already tried a character, and code couldn't handle it; that test is on the Stretchy Head page.
I didn't expect an exact match. The goal was a render convincing enough to show the pipeline.
02Day 1
Claude's first two guesses at the camera position were both wrong, so the room never lined up with the photo.
The fix was to calculate it. Claude looked at the photo and estimated pixel coordinates for the ceiling edges and the room corner itself; I didn't supply any. It then ran a script that searched for the lens, position and angle that made the 3D room's edges land on those pixels. The result was a 26 mm lens from the far corner. The room had to be made larger to fit.
For layout, Claude picked points in the photo (window corners, sofa feet, picture frames) and projected each one from the camera onto the walls or floor of the 3D room. That gave each object its starting position. As the next sections show, many of them moved after that.
03Day 1
The first full render was framed like the photo, but it was overexposed, the plaid was pastel and the carpet was white. Six rounds of adjustments fixed exposure, fabric and color. The largest single fix was turning down the fabric "sheen" setting, which had made every chair look chalky under the camera flash.


04Day 1
The materials Claude built from Blender's procedural nodes weren't realistic enough. Poly Haven and ambientCG publish free scanned materials under a CC0 license, and both have APIs. Claude wrote a script that downloaded twelve sets, saved each with its license file, and connected the texture maps to Blender materials automatically. My only part was picking the sets from a contact sheet.
Neither library had a 90s plaid. Claude wrote a Python script that drew the plaid as a flat image file, with a twill weave pattern, sized so it repeats without visible seams. The image is then used as the sofa's fabric texture. The scanned wood grain and the plaid made the biggest visual difference up to that point.



05Days 1–2
"Some objects are passing through each other, and the frame hanging above the doorway doesn't make sense."My note on a render Claude had called improved
Claude had been judging the render as a whole and wasn't checking where objects touched. After my feedback it wrote a collision check that tested every pair of objects for overlapping geometry, using Blender's built-in BVH tree. It found the recliner inside the sofa, the entertainment center through the window frame, the TV and monitor through the walls, and pillows 12 cm above the seat.
The recliner only fit once the sofa was shortened to a realistic 2.1 m. We removed a picture frame above the archway and an unfinished hallway door instead of continuing to fix them.


06Day 2
Blender's cloth simulation, with internal air pressure, gave the sofa puffed cushions with wrinkled corners, a draped blanket and filled-out pillows. Each piece took several attempts:
After this, render times went from 7 seconds to almost 4 minutes. The cause was about 900,000 carpet fibers under the sofa, where the camera can't see them. Thinning the fibers out under furniture fixed it.


07Day 2
"The floor doesn't read as carpet. It still looks completely flat in the full render."My notes on the first two attempts
Why it took four attempts
At this camera distance, one pixel covers about 5 mm of floor. Any detail smaller than that, including individual fibers, averages out to a flat color. The carpet in the photo looks like carpet because its pile is matted into clumps large enough to catch light. Claude should have worked out the pixel size before modeling any fibers.



08Day 2
The camera and the room's walls, window and archway line up closely with the photo. The furniture doesn't. The coffee table in the photo is angled and sits close to the sofa; in the render it's square to the camera and further forward. The armchair in the foreground, the desk area and the view through the archway are also different, and most of the clutter is missing. The render also doesn't have the photo's flash falloff or grain.
I'd hoped it would get closer. The coffee table was already square to the camera in the first render, so the layout pass got it wrong from the start. After that, Claude's fixes were about making the room look convincing: materials, overlaps, cloth, carpet. Nothing checked object positions against the photo again, and some pieces moved further when the sofa was shortened and overlaps were cleared.


The same area of the frame in both images. The slider near the top of the page shows the whole frame.
Who did what
Set the brief and the quality bar. Picked materials from the contact sheet. Found the overlapping objects, floating pillows, misplaced frame and flat carpet. For the breakdown video, rejected Claude's first version, which drew filtered outlines over the photo, and asked for Blender's own working views instead.
Wrote and ran all the Python in Blender: camera calculation, layout, collision checks, cloth settings, carpet geometry, the plaid texture, the material downloads, the render passes (clay, wireframe and one color per object, all from the same camera) and the video.
Blender with the Cycles renderer, connected to Claude through MCP. Free CC0 materials from Poly Haven and ambientCG. An AI-generated reference photo. ffmpeg to assemble the video.
What it cost
Looking back
The result is good enough to show, but it's further from the photo than I wanted, and I had to push for most of it. Most of the cost came from me doing the quality checks: Claude reviewed the overall image, and I found the specific problems one round at a time. It usually fixed one issue per render instead of several. The pixel size on the carpet wasn't calculated until the fourth attempt. And Claude described renders as improved while clear problems were still visible.
The steps that worked are now saved as reusable code and written instructions: the camera calculation, layout, collision checks, the material library, working cloth settings, and the pixel-size check. For the next room I'd add two checks: an overlay of the render on the photo after every major change, so positions can't drift, and a review step where Claude renders close-ups of each area next to the reference and fixes problems before I see them. I'd also start a new conversation for each phase, so Claude isn't re-reading two days of history with every reply.
I expect the next room to need five or six check-ins from me instead of about twenty.
What I'd test next. The weakest step was matching the photo, which is what newer image-to-3D models are built for. I'd run the same photo through Meta's SAM 3D, which rebuilds each object along with its position in the photo, and World Labs' Marble, which turns one image into a full 3D scene. Then I'd bring both into Blender and have Claude handle scale, materials, overlap checks and cloth. Comparing the results with this render would show which steps need a specialist model and which ones code handles well.