#3477: Scatter: Scatter Amount takes After Effects' range

Scatter Amount takes 0..1000, After Effects' recorded valid range in the
same units (pixels); the slider stays 0..127. The CPU and GPU renderers move
each pixel by one random offset of up to the amount, so a larger amount
costs the same; samples outside the layer are transparent.
Default and slider are unchanged.
This commit is contained in:
arnav-hiwarkar committed 2026-11-12 15:47:15 +05:30
1 parent a08240155c
commit c4cd9f1c2e
3 files changed
+2 -2

No files matched your search

-1
View File
@@ -738,7 +738,6 @@ mod tests {
("ec.distort.transform", "scaleWidth", 3471),
("ec.generate.beam", "startThickness", 3475),
("ec.generate.beam", "endThickness", 3475),
("ec.stylize.scatter", "amount", 3477),
("ec.time.pixelmotionblur", "shutterAngle", 3481),
("ec.time.pixelmotionblur", "shutterSamples", 3482),
("ec.noise.fractal", "subSettings/subInfluence", 3485),
+1 -1
View File
@@ -612,7 +612,7 @@ pub fn specs() -> Vec<EffectSpec> {
"ec.stylize.scatter",
"Scatter",
vec![
p("amount", "Scatter Amount", num(0.0), slider(0.0, 127.0, 0.0, 127.0, 1)),
p("amount", "Scatter Amount", num(0.0), slider(0.0, 1000.0, 0.0, 127.0, 1)),
p("grain", "Grain", Value::Enum(0), popup(&["Both", "Horizontal", "Vertical"])),
p("randomizeEveryFrame", "Scatter Randomness", Value::Bool(false), ParamUi::Checkbox),
],
+1
View File
@@ -54,6 +54,7 @@ const ROWS: &[(u32, &str, &str, f64, f64)] = &[
(3472, "ec.transition.venetian", "width", 1.0, 32000.0),
(3473, "ec.transition.venetian", "feather", 0.0, 32000.0),
(3474, "ec.transition.radialwipe", "feather", 0.0, 32000.0),
(3477, "ec.stylize.scatter", "amount", 0.0, 1000.0),
];
fn path(effect: &str, param: &str) -> String {