mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
Width takes 1..32000 and Feather 0..32000, After Effects' recorded valid ranges in the same units (pixels). The work stays bounded: the renderers floor the width at 1 buffer pixel, sum at most 40 Gaussian terms per pixel, and above 8 widths the feather is the even veil (venetian_cover; the GPU hands that case to the CPU, as before). Default and slider are unchanged.
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -736,8 +736,6 @@ mod tests {
|
||||
("ec.distort.turbulentdisplace", "evolutionOptions/randomSeed", 3470),
|
||||
("ec.distort.transform", "scaleHeight", 3471),
|
||||
("ec.distort.transform", "scaleWidth", 3471),
|
||||
("ec.transition.venetian", "width", 3472),
|
||||
("ec.transition.venetian", "feather", 3473),
|
||||
("ec.transition.radialwipe", "feather", 3474),
|
||||
("ec.generate.beam", "startThickness", 3475),
|
||||
("ec.generate.beam", "endThickness", 3475),
|
||||
|
||||
@@ -930,8 +930,8 @@ pub fn specs() -> Vec<EffectSpec> {
|
||||
vec![
|
||||
p("completion", "Transition Completion", num(0.0), slider(0.0, 100.0, 0.0, 100.0, 0)),
|
||||
p("direction", "Direction", num(90.0), ParamUi::Angle),
|
||||
p("width", "Width", num(30.0), slider(2.0, 1000.0, 2.0, 200.0, 0)),
|
||||
p("feather", "Feather", num(0.0), slider(0.0, 100.0, 0.0, 100.0, 1)),
|
||||
p("width", "Width", num(30.0), slider(1.0, 32000.0, 2.0, 200.0, 0)),
|
||||
p("feather", "Feather", num(0.0), slider(0.0, 32000.0, 0.0, 100.0, 1)),
|
||||
],
|
||||
venetian,
|
||||
),
|
||||
|
||||
@@ -51,6 +51,8 @@ const ROWS: &[(u32, &str, &str, f64, f64)] = &[
|
||||
(3484, "ec.noise.noisehlsauto", "grainSize", 0.0, 100.0),
|
||||
(3480, "ec.color.changecolor", "hueTransform", -1800.0, 1800.0),
|
||||
(3476, "ec.generate.grid", "border", 0.0, 2000.0),
|
||||
(3472, "ec.transition.venetian", "width", 1.0, 32000.0),
|
||||
(3473, "ec.transition.venetian", "feather", 0.0, 32000.0),
|
||||
];
|
||||
|
||||
fn path(effect: &str, param: &str) -> String {
|
||||
|
||||
Reference in new issue
Block a user