#3470: Turbulent Displace: Random Seed takes After Effects' range

Random Seed takes 0..100000, After Effects' recorded valid range (and what
the other effects' Random Seed already takes). The CPU and GPU hash it the
same way with wrapping u32 arithmetic, so any seed costs the same.
Default and slider are unchanged.
This commit is contained in:
arnav-hiwarkar committed 2026-11-12 15:47:15 +05:30
1 parent 74bcb30540
commit 98d82ae761
3 files changed
+2 -2

No files matched your search

-1
View File
@@ -733,7 +733,6 @@ mod tests {
("ec.blur.radial", "amount", 3467),
("ec.blur.ccradial", "amount", 3468),
("ec.distort.turbulentdisplace", "amount", 3469),
("ec.distort.turbulentdisplace", "evolutionOptions/randomSeed", 3470),
("ec.time.pixelmotionblur", "shutterAngle", 3481),
("ec.time.pixelmotionblur", "shutterSamples", 3482),
("ec.noise.fractal", "subSettings/subInfluence", 3485),
+1 -1
View File
@@ -743,7 +743,7 @@ pub fn specs() -> Vec<EffectSpec> {
p("evolution", "Evolution", num(0.0), ParamUi::Angle),
p("evolutionOptions/cycleEvolution", "Cycle Evolution", Value::Bool(false), ParamUi::Checkbox),
p("evolutionOptions/cycle", "Cycle (in Revolutions)", num(1.0), slider(1.0, 1000.0, 1.0, 20.0, 0)),
p("evolutionOptions/randomSeed", "Random Seed", num(0.0), slider(0.0, 10000.0, 0.0, 1000.0, 0)),
p("evolutionOptions/randomSeed", "Random Seed", num(0.0), slider(0.0, 100000.0, 0.0, 1000.0, 0)),
p("pinning", "Pinning", Value::Enum(1), popup(&TURBULENT_PINNING)),
p("resizeLayer", "Resize Layer", Value::Bool(false), ParamUi::Checkbox),
],
+1
View File
@@ -59,6 +59,7 @@ const ROWS: &[(u32, &str, &str, f64, f64)] = &[
(3475, "ec.generate.beam", "endThickness", 0.0, 4000.0),
(3471, "ec.distort.transform", "scaleHeight", -30000.0, 30000.0),
(3471, "ec.distort.transform", "scaleWidth", -30000.0, 30000.0),
(3470, "ec.distort.turbulentdisplace", "evolutionOptions/randomSeed", 0.0, 100000.0),
];
fn path(effect: &str, param: &str) -> String {