読みものJournal › Blender × Claude

Blender × Claude #1

AI に「検査係」を雇わせたI Let the AI Hire an Inspector

第1話「消えたトースト」より。この何気ない場面の手元が、いちばんの難所でした。From Episode 1, "The Vanishing Toast." The hands in this quiet moment were the hardest part.

CG のアニメで、いちばん多い失敗は何だと思いますか。私のスタジオでは、答えははっきりしています。手と物の重なりです。

トーストをつまむ指が、パンの中に少しめり込む。カップを持つ手が、取っ手から浮いている。現実ならありえないことが、CG では簡単に起きます。しかも、動画を普通に見ているだけでは、なかなか気づけません。

作った本人の目は、あてにならない

連載「文系の私と、AI のアニメ工房」で書いたとおり、私のスタジオでは AI の Claude が助監督として、Blender のカットを作っています。私は動画を見て「ここが変」と伝える役です。

ところが、Claude が「直しました」と言った動画を見ると、まだおかしい所が残っている。そういうことが続きました。Claude が悪いのではありません。作った本人は、自分の作ったものを「直ったはず」と思って見てしまう。これは人間のチームでも同じです。

そこで、Claude の下にもう一人、AI のスタッフを置くことにしました。検査係です。

検査係の仕事

新しい動画ができると、私に見せる前に、Claude が自動で検査係を呼びます。検査係は、作ったのとは別の AI です。決まりは一つだけ。見るだけで、何も直さない。直すのは Claude の仕事です。

検査係は、次の三つのことをします。

  1. 全体を見る:動画を 1 秒ごとのコマに分けて、一覧の絵にして眺めます。物が急に消えていないか、人が人形のように止まっていないか。
  2. 数字で測る:直したカットは、全部のコマで、指が物に何 mm 入っているかを計算します。
  3. 寄って確かめる:気になる所は、カメラを近づけた絵を描いて確かめます。
検査係が最初に見る「コマの一覧」。第1話の冒頭 24 秒を 1 秒ごとに並べたもの。

何 mm までなら許すか

面白いのは、合格の目安を数字で決めたことです。

人の指は、物を持つと少しへこみます。だから 0 mm でなくてもいい。この「許してよい幅」を決めておくと、検査係は細かすぎる指摘をしなくなり、本当に直すべき所だけが残ります。

見つかったもの

検査係は、私が見落としていたものを次々に見つけました。

第1話は、検査を 12 回くり返して、ようやく「要修正なし」になりました。

それでも、決めるのは人

一つだけ、検査係の指摘を「直さない」と決めたことがあります。

エンディングで SYAORON が眠る場面。検査係は「閉じた目が見えない」と何度も報告してきました。調べると、まぶたの毛が合わせ目を隠していたのです。

でも、私は思いました。本当の犬でも、毛の多い子の閉じた目は見えない。眠っていることは、下がった頭や、ゆっくりした寝息で伝わります。だから、これは直さない。

数字で測るのは AI が得意です。けれど、何が自然で、何が美しいかを決めるのは、やはり人の目です。検査係を置いてから、私はかえって「自分の目で決めること」に集中できるようになりました。

CG を作る人へのヒント

次回:手直しが消えた日 ― せっかく手で直した動きが、作り直しで消えてしまった話。

What's the most common mistake in CG animation? In my studio the answer is clear: hands and objects passing through each other.

A finger sinks a little into the toast it's holding. A hand floats just off a cup's handle. Things that can't happen in real life happen easily in CG — and you rarely notice them just by watching the video.

The maker's eyes can't be trusted

As I wrote in "From Zero, with AI," Claude — an AI — works as my assistant director, building the shots in Blender. My job is to watch and say what looks wrong.

But again and again, a video Claude said was "fixed" still had problems. That isn't Claude's fault. Whoever made something tends to see it as already fixed. Human teams have the same problem.

So we added one more AI to the staff, working under Claude: the inspector.

What the inspector does

Whenever a new video is rendered, Claude automatically calls the inspector before I see anything. The inspector is a separate AI from the one that made the shots, with a single rule: look, but never fix. Fixing is Claude's job.

The inspector does three things:

  1. Looks at the whole — it lays out one frame per second as a contact sheet. Does anything vanish suddenly? Does anyone freeze like a doll?
  2. Measures — for every shot that was changed, it calculates, frame by frame, how many millimetres a finger goes into an object.
  3. Zooms in — anything suspicious gets a close-up render to confirm.
The contact sheet the inspector looks at first: the opening 24 seconds of Episode 1, one frame per second.

How many millimetres are OK?

The interesting part was setting the pass mark in numbers:

Real fingers dent slightly when they hold something, so zero isn't required. With that tolerance defined, the inspector stops nitpicking and only what truly needs fixing remains.

What it found

Episode 1 took twelve rounds of inspection before it came back "nothing to fix."

A person still decides

There was one note we chose not to act on.

In the ending, SYAORON falls asleep. The inspector kept reporting: "The closed eyes aren't visible." It turned out the fur on the eyelids hid the line where they meet.

But I thought: with a real fluffy dog, you can't see its closed eyes either. You can tell it's asleep from the lowered head and slow breathing. So we left it.

AI is great at measuring. But deciding what looks natural — what looks beautiful — is still a job for human eyes. Having an inspector actually freed me to focus on exactly that.

Tips for fellow CG makers

Next: The day my fixes vanished — how hand-made animation fixes were lost in a rebuild.