読みものJournal › Blender × Claude
Blender × Claude #1
AI に「検査係」を雇わせたI Let the AI Hire an Inspector
CG のアニメで、いちばん多い失敗は何だと思いますか。私のスタジオでは、答えははっきりしています。手と物の重なりです。
トーストをつまむ指が、パンの中に少しめり込む。カップを持つ手が、取っ手から浮いている。現実ならありえないことが、CG では簡単に起きます。しかも、動画を普通に見ているだけでは、なかなか気づけません。
作った本人の目は、あてにならない
連載「文系の私と、AI のアニメ工房」で書いたとおり、私のスタジオでは AI の Claude が助監督として、Blender のカットを作っています。私は動画を見て「ここが変」と伝える役です。
ところが、Claude が「直しました」と言った動画を見ると、まだおかしい所が残っている。そういうことが続きました。Claude が悪いのではありません。作った本人は、自分の作ったものを「直ったはず」と思って見てしまう。これは人間のチームでも同じです。
そこで、Claude の下にもう一人、AI のスタッフを置くことにしました。検査係です。
検査係の仕事
新しい動画ができると、私に見せる前に、Claude が自動で検査係を呼びます。検査係は、作ったのとは別の AI です。決まりは一つだけ。見るだけで、何も直さない。直すのは Claude の仕事です。
検査係は、次の三つのことをします。
- 全体を見る:動画を 1 秒ごとのコマに分けて、一覧の絵にして眺めます。物が急に消えていないか、人が人形のように止まっていないか。
- 数字で測る:直したカットは、全部のコマで、指が物に何 mm 入っているかを計算します。
- 寄って確かめる:気になる所は、カメラを近づけた絵を描いて確かめます。
何 mm までなら許すか
面白いのは、合格の目安を数字で決めたことです。
- 0〜1.5 mm 問題なし
- 〜2 mm 持っている物なら、皮膚のやわらかさの範囲
- 3 mm 以上 報告する
- 5 mm 以上が 3 コマ続く 要修正
人の指は、物を持つと少しへこみます。だから 0 mm でなくてもいい。この「許してよい幅」を決めておくと、検査係は細かすぎる指摘をしなくなり、本当に直すべき所だけが残ります。
見つかったもの
検査係は、私が見落としていたものを次々に見つけました。
- 宙を飛ぶトースト:手が少しずれたまま残り、パンが指から 1.4 cm 浮いて飛んでいた。
- パンに刺さる指:人差し指がパンに 7.9 mm 入っていた。
- 床に沈む犬:エンディングで、SYAORON が床に 18 cm 沈んでいた。
- 途中で現れる額の絵:壁の絵が、ある瞬間まで見えず、急に現れる。原因は、絵と壁がぴったり同じ位置にあったこと。CG では、面を重ねて置くと、コマによってどちらが前に出るかが変わります。絵を 5 mm 手前に出したら直りました。
第1話は、検査を 12 回くり返して、ようやく「要修正なし」になりました。
それでも、決めるのは人
一つだけ、検査係の指摘を「直さない」と決めたことがあります。
エンディングで SYAORON が眠る場面。検査係は「閉じた目が見えない」と何度も報告してきました。調べると、まぶたの毛が合わせ目を隠していたのです。
でも、私は思いました。本当の犬でも、毛の多い子の閉じた目は見えない。眠っていることは、下がった頭や、ゆっくりした寝息で伝わります。だから、これは直さない。
数字で測るのは AI が得意です。けれど、何が自然で、何が美しいかを決めるのは、やはり人の目です。検査係を置いてから、私はかえって「自分の目で決めること」に集中できるようになりました。
CG を作る人へのヒント
- 面と面は、ぴったり重ねずに数 mm 離す。
- 手と物は、静止画を目で見るだけでなく、全部のコマを数字で測る。
- 確認する人は、作った人と別にする。AI でも同じです。
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:
- 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?
- Measures — for every shot that was changed, it calculates, frame by frame, how many millimetres a finger goes into an object.
- Zooms in — anything suspicious gets a close-up render to confirm.
How many millimetres are OK?
The interesting part was setting the pass mark in numbers:
- 0–1.5 mm fine
- up to 2 mm fine for a held object — skin is soft
- 3 mm+ report it
- 5 mm+ for 3 frames must fix
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
- Flying toast — a hand was left slightly offset, so the toast floated 1.4 cm away from the fingers.
- A finger through the bread — an index finger 7.9 mm inside the toast.
- A sinking dog — in the ending, SYAORON sank 18 cm into the floor.
- A painting that popped in — a picture on the wall was invisible until a certain frame, then suddenly appeared. It sat at exactly the same depth as the wall, and in CG, when two surfaces overlap, which one shows can flip from frame to frame. Moving it 5 mm forward fixed it.
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
- Never place two surfaces at exactly the same spot — leave a few millimetres.
- Don't just eyeball hands and props in stills — measure every frame.
- Have someone other than the maker do the checking. That goes for AI too.