VCR Standard Operating Procedure (SOP)
Defines mandatory visual verification steps and framing rules for VCR shader elements to prevent clipping and off-center renders.
What this file does
Defines mandatory visual verification steps and framing rules for VCR shader elements to prevent clipping and off-center renders.
When to use it
- Adding a new shader or VCR element to a project
- Before delivering a final render of a VCR animation
- Setting up a quality check pipeline for 9:16 vertical renders
- Onboarding a team member to VCR development workflow
Assumes this stack
VCR Standard Operating Procedure (SOP)
This document outlines the mandatory procedures for developing and verifying VCR elements (shaders, manifests, and assets) to ensure high-fidelity, centered, and non-clipping renders.
1. Visual Verification Loop
CRITICAL: Every new VCR element MUST pass a Visual Verification check before a final render is performed or delivered.
Step 1: Snapshot Preview
Render a short clip and extract a keyframe snapshot (Frame 0).
cargo run --release -- render manifests/[id].vcr --output renders/preview.mov
ffmpeg -y -i renders/preview.mov -vf "select=eq(n\,0)" -vframes 1 renders/preview_snapshot.png
Check: Is the object centered? Is it touching any edges?
Step 2: Contact Sheet Verification
Generate a 3x3 contact sheet to inspect the animation at start, middle, and end.
./.tmp_venv/bin/python3 scripts/vcr_contact_sheet.py renders/preview.mov renders/contact_sheet.png
Check: Does the object remain in frame and stable throughout the entire 10-second duration?
2. Framing Requirements (9:16 Vertical)
- Target Aspect: 1080x1920 (9:16).
- Safe Zones: Maintain at least a 10% margin from all edges.
- Raymarching Tips:
- Use
ro.zdistances of-15.0to-25.0for safe framing. - Adjust
focal_length(rd calculation) to compensate for camera distance. - Prefer "Capsule Chain" or robust global mapping over high-frequency analytic SDFs.
- Use
3. Tooling Reference
vcr_contact_sheet.py: Python helper for mosaic generation.ffprobe: Use signalstats to verify alpha channel transparency.
What's inside
3 sections: Visual Verification Loop, Framing Requirements, Tooling Reference. 2 code blocks, 1 checklist.
Change this for your project
- Replace
manifests/[id].vcrwith your own manifest path - Replace
renders/with your output directory - Replace
.tmp_venv/bin/python3with your Python interpreter path
Where it goes
A standard operating procedure. Keep where the team or agent running the process will find it.
Related Documents
Comprehensive AI Assistant Tools Reference
Lists 80+ tools with MCP server associations, bulk support, parallel capability, resource impact, and execution type for AI agent workflows.
iOS Deployment Guide
Walks through setting up an iOS development environment, building a Tauri app for iOS, and publishing to the App Store or alternative channels.
How to Add Resources to Your FastMCP Server
Teaches how to add static and dynamic MCP resources to a FastMCP server, with six ready-to-copy examples for a GitHub crawler.
PCI Compliance Guide
Explains PCI DSS compliance via tokenization, lists forbidden and allowed data, and provides code examples for BigCommerce and Stripe.