Reference material in the Blender scene (#162) #173
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!173
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-162-previz-references"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #162. Part of #139.
What
The Blender scene now carries the material the filmmaker times and stages the motion by.
Scene spec (studio-core, format 2) gains these fields:
markers: one per Line (a dual dialogue pair gets one), named by the start of its text. When a Performance drives the Shot, the frame is the Performance's mark. Otherwise it is the script estimate's default mark. These are the marks a Take of the Shot would start with.audio: the Performance slice, when a Performance drives the Shot.panels: the Board's Panels, in order.location_angle: the Setup's location angle, when its set's current Lock snapshot picks it.The spec holds paths only. It writes no files.
prepare_blender_scenewrites those files into the folder'sreferences/on every open:It deletes any file there that the spec no longer names, so a reopened
.blendshows the references as they are now.The bootstrap (v2) adds these when it first builds the scene. Reopening the saved file adds nothing.
The Playblast operator already hid the background images when it rendered (#160).
Small refactors to share logic with Takes:
slice_audiois shared with the job builder.shot_unitssits besidetake_units.locked_location_angleis pulled out of the Slot list candidate.Testing
tests/previz.rscover:cargo test --workspacepasses, and clippy has no new warnings.sequencespath is untested.Still to check by hand