← All posts

Build log

Testing photoreal Blender rendering on macOS

A renderer tested only on Linux got a full run on Apple Silicon: one slow first render and several installer bugs.

Why we needed it: In a sample run, Claude reached for Blender Cycles instead of AnkusDrive's own renderer, which raised the question of whether AnkusDrive should point to Blender. PR #357 added that, but as GC put it, “the tests were on a linux box,” so the macOS instructions needed checking.

PR #357 added photoreal rendering through Blender Cycles, plus an installer script, and had only been tested on Linux. GC asked Claude Code to “evaluate if blender cycles instructions for MacOS work.”

On an Apple Silicon Mac the path held up. The download matched its pinned hash, Blender 5.2.1 was detected with the Metal GPU as its render device, and all 18 Blender render tests passed along with the 7 in the photoreal suite. One thing worth knowing: the first render took 91.6 s while Metal compiled its kernels once, and later renders took about half a second.

The review found five small installer issues:

  • No “already installed” check.
  • It assumed Homebrew installs into one fixed folder.
  • It didn't handle Intel Macs with Homebrew.
  • It could leave the disk image mounted after a failure.
  • --list and --help gave misleading output.

Fixing those turned up a bug Linux testing had missed: every successful install exited with status 1, because the cleanup step ran last and ended on a failing test.

To finish, the session started the branch’s own AnkusDrive MCP server, built a gear pair on bearings and shafts over a brushed-aluminium plate, and rendered it with one render_photoreal call: nine parts, each with its own appearance, 384 samples at 1280×960, in 15 s on Metal.

PR #357