Repository navigation
Conversation
…e/real.js (footage, speedRamp, grade, shutter blur), c2v blender (Cycles PBR, Bullet, Mantaflow, glTF + NLA, measure hook), c2v pairs (edit pairs, masks, sweeps, keyframe export), oil style Co-authored-by: Cursor <cursoragent@cursor.com>
…-human, real-domino), docs/realism.md, README sections, research log R1/R2 Co-authored-by: Cursor <cursoragent@cursor.com>
…ask, Cycles misty moor, Temelín steam) and real-mobius (parametric Möbius solid, ant on the surface normal); footage mask via 2D canvas compositing, film scratches in grade(), silhouette extraction script Co-authored-by: Cursor <cursoragent@cursor.com>
… model, procedural pad, volumetric exhaust and steam) and cg-gym (MPFB human, IK grip, energy-conserving giant swing); camera clip_end; zip assets; research log R3 Co-authored-by: Cursor <cursoragent@cursor.com>
…t eval matching Brush, code-driven camera/edits/inserted splats), splat-garden; cg-grasp interaction probe (contact solver vs fixed grip, penetration/volume/gap measures); github asset source pinned to commits; Rocketbox humans with fixed Biped tails; pairs base params; review fixes; research log R4 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ttoms, footprint separation, rest pose, sweep + minimum-energy placement, Bullet settling, checks) vs naive layouts; c2v three (three.js raster / GTAO / three-gpu-pathtracer on exported glTF) compared with Cycles; Rapier rigid-body shot with per-frame penetration; research log R5 Co-authored-by: Cursor <cursoragent@cursor.com>
…ingual subtitles, original sound under the same cut list), film-cafe (Rocketbox people retargeted by world rotation, chair/table/floor contact solved and measured), film-street (walk speed solved from planted feet, rotation-only camera); render invalidates stale frames by input hash; restore hint for archive-range cuts; research log R6 Co-authored-by: Cursor <cursoragent@cursor.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
Adds a realism layer to Code-to-Video: the program stays the source of truth (frames are still pure functions of
(t, params), byte-reproducible), but the pixels it composes can now be real footage, path-traced 3D and a camera finish. Targets the categories the painted engine could not reach: real human motion, 3D anthropomorphic characters, physics, visual effects, world knowledge, title sequences and special styles on real pixels. Also turns controllability into data:c2v pairsrenders source/target edit pairs with exact masks.New tools
c2v assets(lib/assets.mjs): search/fetch from Wikimedia Commons, NASA, Poly Haven (CC0 HDRIs, PBR textures, models), Internet Archive, Pexels/Pixabay (with key), direct URLs (incl..glb). Licence, author, page and sha256 go toprojects/<p>/assets.lock.json(committed); media underassets/is not.restorere-fetches and refuses changed downloads;--interp=Nadds motion-compensated in-betweens (ffmpeg minterpolate) for slow motion; NASA items carry their metadata asfacts.engine/real.js:footage()(source time under the virtual camera, chroma key, screen/add/lightest/darkest),speedRamp(),handheld(),grade()(tone curve, temperature, bloom, halation, aberration, defocus, grain, letterbox),PROJECT.shuttersub-frame motion blur,PROJECT.look = 'real';P()edit params fromPROJECT.params+?params=.c2v blender(blender/): Python scene files rendered in Cycles (Metal/OptiX/CUDA/HIP) — HDRI, PBR, Bullet rigid bodies (baked, kinematic releases), Mantaflow fire/smoke with blackbody flame colour, ember particles, shadow catcher, glTF characters with NLA-blended actions, material restyling, and an optionalmeasure(ctx)hook whose result (e.g. impact frames) lands in the layer meta for sound sync.c2v pairs(lib/pairs.mjs): one target video per param edit next to a shared source, exact difference masks,pairs.jsonlwith zh/en instructions and changed-frame stats;sweepsamples single-parameter edits from a declared space;--exportwrites source/target/mask keyframe triplets;--listdry-runs.stylize('oil')(Kuwahara + canvas + impasto); macOS Playwright Chromium detection.Probes (all
selftestPASS,check0 errors)real-motionreal-physicsreal-worldreal-vfxreal-humanreal-dominoEdit pairs produced
real-motion24 (8 hand-written + 16 sampled),real-physics4,real-human3,real-domino1. Masks are local where the edit is local (e.g. title text 0.9 % of the area on 85/240 frames; robot repaint 5.1 % on its 141 frames).Tests
node tests/run.mjsALL PASS ·node tests/replay.mjs7/7 historical failures caught ·selftestPASS on all six probes.Limits
c2v assets <p> restoreand thec2v blendercommands in each lock entry rebuild them.