Repository navigation
feat(samples): add reusable cinematic shots drawn in three.js - #129
Merged
Merged
Conversation
Eight silent, parameterised shots under samples/cinematic/: a mountain sunrise over a sea of clouds, a golden-hour ocean, extruded metal title text, a product hero shot, a floating UI screen, particles into a word and a logo, a split-flap board, and annotated footage. Text and colours come from P in build.py's SHOTS, so a shot drops into another video by editing those values. kit/ carries the fixes found while building the AI Short Film Fes remake: MSAA on the composer, a dark studio environment instead of RoomEnvironment, reflections kept on bright metals only, an opaque canvas, and paint() for footage that mulmocast would otherwise re-seek. scenes/BRIEF.md is the contract the scenes were written against (drafted by Codex gpt-6-astra, reviewed from mulmocast 2.12.1 renders and finished here). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ic shots Adds three sections to samples/opus55-motion/README.md: pitfalls measured with mulmocast 2.12.1 and three.js r147 (video re-seek, relative paths, gamma and environment making scenes grey, composer anti-aliasing, non-invertible matrix3d, chamfered holes, timeouts, TTS and music API quirks), how 3D scenes were split between Codex and review, and a catalogue of samples/cinematic/ with what each shot's P controls. Notes that the footage-overlay sample reads the video at 0.75x and may be re-seeked to 1x under 2.12.1 (not verified). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The loupe and circle sat on an arbitrary spot. The point of interest, circle radius and loupe zoom now come from P (focus in footage pixels, radius, zoom), the camera pushes in on it while the circle draws, and the sample targets Claude Code's mascot with the note "Meet Claude". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
文字と色を差し替えれば自分の動画にそのまま入れられる 3D のショット 8 本を
samples/cinematic/に追加し、3D の場面を作り込むときの落とし穴と作り方をsamples/opus55-motion/README.mdに書き足します。build.pyのSHOTS(ショットごとの秒数とP)samples/cinematic/kit/): 合成器の MSAA、RoomEnvironmentの代わりの暗いスタジオの環境光、明るい金属だけに残す映り込み、不透明な canvas、撮影映像を canvas に描き写すpaint()Pで変えられるもの)動画
cinematic_samples_en.mp4
Items to Confirm / Review
ideas-compositeの footage-overlay が 2.12.1 では意図どおりにならない可能性を書いた(映像を 0.75 倍速の位置で読んでいるが、mulmocast が撮影直前に<video>を beat の経過時刻へシークし直すため、本体の映像は等速に戻る)。書き出して確かめてはいない。直すかは別に決めたいfootage_notesは、repo にある MulmoTerminal の画面収録(mulmoterminal/clips/first-run-assets/07-grid.mp4)を相対パスで使い、Claude Code のキャラクターに寄るassets/waternormals.jpgは three.js(MIT License)の examples にある水面の法線マップsamples/cinematic/scenes/BRIEF.mdを約束事として下書きし、mulmocast 2.12.1 で書き出したコマを見て差し戻し、光と露出の設定(golden_ocean の空と表示変換、particle_logo の星雲の密度、footage_notes の注目点)はこちらで直したobjects/Skyやobjects/Waterのようにリニアな光を出す場面には最後に 1 回必要。BRIEF と README はその形に直してあるUser Prompt
作り方と確かめたこと
python3 samples/cinematic/build.pyのあとnpm run movie -- -o "$MAIN/output" samples/cinematic/cinematic.json(1280×720、8 ショット、60 秒)npm testは 111/111 valid(新しいsamples/cinematic/cinematic.jsonを含む)Pの値は、すべて各ショットのコードで使われていることを確かめた🤖 Generated with Claude Code
work in mulmocast-cli