AGENT SKILL

camera-blocking

暂无简介

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

03 SKILL.md 正文

Camera Blocking

Video-AI repaint models (Seedance class) keep camera and framing only when they get an explicit motion reference. This skill turns headless Blender into the camera-direction tool: block the scene in greybox, animate only the camera, playblast, then describe every beat to the repaint model.

The muscle already exists: extensions/blender-operator/ presets + extensions/blender-operator/camera_blocking.py orchestrator.

Conventions

  • Blockout = greybox only. Low-poly primitives, flat grey material, ground plane, one key light. Look is irrelevant; only the camera matters.
  • The camera is the deliverable. Model detail is wasted tokens - the repaint model does the look.
  • Never invent camera motion in the prompt. Every beat in the prompt template must correspond to a real keyframed segment of the playblast.

Flow

One command runs the whole blockout -> rig -> playblast chain on its own isolated -b --factory-startup server (never touches user scenes):

python extensions/blender-operator/camera_blocking.py --out DIR \
    [--name shot] [--fps 24] [--frames 48] [--path orbit|dolly]

Outputs: DIR/shot.mp4 + camera.json + frame PNGs, validated and handed off as a media-tools job descriptor.

Manual step-by-step (when the orchestrator is too coarse): presets live in extensions/blender-operator/presets/ and take a PARAMS dict injected before exec:

  1. presets/blockout.py - primitives kit (boxes, cylinders, flat grey material, ground plane, key light).
  2. presets/camera_rig.py - paths orbit|dolly, TRACK_TO target, keyframed camera; PARAMS: frame_start/frame_end/fps/radius/height/lens.
  3. presets/playblast.py - fast viewport/EEVEE render to MP4 (PARAMS: name, width, height, engine, force, preview_frame).

Then:

  1. Write the second-by-second prompt (template below) from the REAL keyframes - timestamps must match the playblast.
  2. External handoff: paste playblast + prompt (+ reference photos of the real product - they improve adherence) into the repaint model. SaaS is out of scope; the template is the contract.
  3. Scaffold the delivered clip as a scroll-bound hero (below).

Prompt template

REPAINT TARGET: <playblast.mp4>  |  <N>s @ <fps>fps
REFERENCES: [product-front.png] = the real product; [style-ref.png] = mood.
HARD LOCATION MAP: the product stays center-frame on the grey pedestal at
all times; camera never goes below the ground plane; no new objects may
appear. Preserve exact camera motion - do not invent moves.

BEATS:
t=0.0s..t=1.5s  camera orbits 0deg..60deg, product idle
t=1.5s..t=3.0s  dolly-in, exploded view: 4 panels separate outward
t=3.0s..t=4.0s  crane rise +30cm, panels reassemble
STYLE: <one line - e.g. matte black product, warm rim light, shallow DOF>

Named references keep the model honest; the hard location map forbids invented camera moves; beats are copied verbatim from the rig keyframes.

Scroll scaffold (web hero)

Generate in the user's project, never autoplay, never loose loops:

<video id="hero" muted playsinline preload="auto" src="hero.mp4"></video>
<script>
  const v = document.getElementById('hero');
  addEventListener('scroll', () => {
    const p = scrollY / (document.body.scrollHeight - innerHeight);
    v.currentTime = p * v.duration;   // playhead bound to scrollY
  });
</script>

Cross-links

  • operate-blender - generic muscle (exec loop, server lifecycle).
  • creative-engineering - repaint style direction.
  • animation-direction - beat/timestamp grammar shared with the prompt.

Non-goals

No Seedance/Higgsfield client (external SaaS - template only). No real video render in CI. No heavy assets in the repo.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0