📚 Encyclopedia

Games & Graphics · updated 2026-11-30

Rendering stills and short films with headless Blender

blendercyclesbpyrenderinganimationffmpeggpuoptixsatellite-imagery

Blender runs entirely from a script with no window (blender -b -P scene.py -- args), which makes it a renderer a scripted or AI session can drive: build the scene in Python, render frames, assemble a video with ffmpeg. No add-on or MCP bridge is needed for this (Driving Blender from Claude with blender-mcp is for driving a Blender that someone has open). Lessons from a furnished-room still, a spinning logo coin, and a 21-second film of that coin falling from orbit to a lawn.

Setup that matters

Shiny metal needs something to reflect

A gold coin on a black background renders as a dark disc. Use two environments: a simple backdrop (a star field) for camera rays and a studio HDRI for reflections (Blender ships studio.exr and others with the application). Raised details in a second material (chrome against gold) read better than color alone, and reeding on the edge gives the rim highlights as it turns. One artifact to expect: when a flat face is nearly square to the camera, it mirrors the brightest part of the studio and washes out for a moment each half turn.

Long renders belong in a detached, resumable pipeline

A render of several hundred frames outlasts most command timeouts and any single automated session. - Run it detached (setsid nohup ... &) from a script that does every later step too: render, encode, upload, notify. - Skip frames that already exist. Then a rerun after any failure continues instead of starting over. One run died at the encode step after rendering all 504 frames; the rerun took seconds. - Log to a file and write the final URLs to a file, so a later session can find out what happened. - A killed session does not kill a detached Blender. Check for one still running before starting another on the same output directory.

Encoding

Fire, heat and the real Earth

Gotchas

See also

Linked from

Sources: home memory (misc-side-projects: room render, logo coin, re-entry film), tldr posts #1895 #1922, 2026-11