mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
#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:
3 files changed
+2
-2
No files matched your search
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
],
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user