Merge branch 'main' into worktree-agent-a15cecfec57d5290d
# Conflicts: # crates/effects/src/ocio.rs # crates/engine/src/commands/stubs.rs # docs/parity.md
This commit is contained in:
@@ -264,7 +264,12 @@ pub struct Comp {
|
||||
pub markers: Vec<Marker>,
|
||||
pub shutter_angle: f64,
|
||||
pub shutter_phase: f64,
|
||||
/// Samples Per Frame: the minimum motion-blur samples (and the count for 3D layers).
|
||||
pub motion_blur_samples: u32,
|
||||
/// Adaptive Sample Limit (Composition Settings ▸ Advanced): the most samples a 2D layer gets
|
||||
/// when it moves far within the shutter.
|
||||
#[serde(default = "adaptive_limit_default")]
|
||||
pub motion_blur_adaptive_limit: u32,
|
||||
#[serde(default)]
|
||||
pub renderer: Renderer,
|
||||
/// Comp switches (timeline toolbar).
|
||||
@@ -300,6 +305,10 @@ fn yes() -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn adaptive_limit_default() -> u32 {
|
||||
128
|
||||
}
|
||||
|
||||
impl Comp {
|
||||
pub fn new(width: u32, height: u32, frame_rate: FrameRate, duration: Tick) -> Comp {
|
||||
Comp {
|
||||
@@ -316,6 +325,7 @@ impl Comp {
|
||||
shutter_angle: 180.0,
|
||||
shutter_phase: -90.0,
|
||||
motion_blur_samples: 16,
|
||||
motion_blur_adaptive_limit: 128,
|
||||
renderer: Renderer::Classic3D,
|
||||
hide_shy: false,
|
||||
enable_motion_blur: true,
|
||||
|
||||
Reference in New Issue
Block a user