mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-21 02:32:18 +00:00
Export Director cameras as a USD stage and use runtime shot timing
Address review on #1460: - Replace the custom JSON manifest and the bpy importer with a plain-text .usda stage written from Node (no new dependency) that Blender imports natively: Z-up, metersPerUnit 1, one camera per shot with per-frame xformOp:transform samples, time codes equal to frame numbers, and lens attributes in tenths of a scene unit (Blender multiplies by 100 * metersPerUnit). - Take shot timing from shotRuntimeDurationSec/effectiveShotHoldSec, the functions Director playback and seeking use, so pack hold overrides, minimum holds and evidence-sequence durations match the app. - Extract runtimeLayerStatesForShot in shotPresentation.js (behaviour unchanged) so holds for long scenes are resolved without quadratic work. - Remove tools/blender Python files; update docs, tests and changelog. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BahZiNcXqNSvAmR5TCuTAu
This commit is contained in:
14 files changed
+624
-865
No files matched your search
@@ -1,3 +1,3 @@
|
||||
- Export saved Director scenes to editable Blender cameras with a camera-only
|
||||
offline manifest preserving ENU coordinates, lens and rational timing, plus
|
||||
an importer and projection checks (UBN606, #1460).
|
||||
- Export saved Director scenes as camera-only USD (`.usda`) stages that Blender
|
||||
imports natively, with ENU meter coordinates, lens in USD units, rational fps
|
||||
and the same runtime shot timing as Director playback (UBN606, #1460).
|
||||
Reference in new issue
Block a user