Match a product render and script a GPU turntable in headless Blender

Ercan Atay's team had Claude Code rebuild the camera and lights of an approved render without the scene file, then script a 120-frame turntable that took 4 minutes on an RTX 4090 instead of 3 hours.

Done withClaude Code· Nov 24, 2026

What they did

Ercan Atay's small team had one approved product image, the product's 3D model and a brief: a 120-frame 2K turntable with a transparent background for a website, plus two 8K stills in the same light. The original scene file was gone. They gave the job to Claude Code on the Fable 5.2 model, connected to a live Blender session through the Blender MCP add-on for inspecting the scene and trying ideas. The agent wrote a script that fitted the camera by comparing the model's projected outline with the reference silhouette, then solved the lighting by rendering about 40 to 50 candidate soft boxes one at a time and finding non-negative weights that best reproduced the reference. The final renders ran from a re-runnable script in headless Blender with Cycles on the GPU. Each step ended with a side-by-side image and a pause for approval.

How it went

The same 120 frames that took about 3 hours in their old Cinema 4D workflow took 25 minutes on a Mac mini M4 Pro and 4 minutes on an RTX 4090. The author credits the speed to GPU rendering, adaptive sampling and the scripted pipeline, and says the agent's real saving was the hours of camera, light and framing work before the render. The fitted lighting came within 1.5 to 3.5 levels of the reference on a 0 to 255 scale. The agent made mistakes: it claimed a light-linking trick left the outer surface unchanged, a second test showed a 2% brightening, and the whole sequence was re-rendered. It also tracked down edge artefacts in saved PNGs and dark bands caused by coincident CAD surfaces. At the end it packaged the workflow, traps and scripts as a skill that a Windows artist then reused.

Worth knowing

The Blender MCP add-on needed Blender 5.1 or newer; it would not connect on 4.3. The team's strongest lesson was that good metrics hid real problems twice, and only asking the agent to open the images side by side caught them. The old and new timings use different renderers and settings, so the author says the comparison is not like for like. Product and client details are left out.

Try it

With Claude Code· 5 parts to fill in

I have an approved reference image at [path to reference PNG] and the product's 3D model at [path to model file], but not the original scene. Using Blender (MCP for inspecting the scene, headless Blender for renders), fit a camera that matches the reference silhouette, then rebuild the lighting by rendering candidate lights one at a time and solving for non-negative weights that reproduce the reference. Then write a re-runnable script that renders a [number]-frame turntable at [resolution] with a transparent background on the GPU. After every step, show me the render beside the reference with the measured difference, list anything you changed in the geometry, and wait for my approval before the next step. Stop when the output meets [my acceptance criteria].

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related