mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
#3474: Radial Wipe: Feather takes After Effects' range
Feather takes 0..32000, After Effects' recorded valid range in the same units. The CPU and GPU renderers evaluate the feather per pixel in closed form (a Gaussian of the distance to the wedge, radial_wipe_alpha), so a wide feather costs the same and stays finite. Default and slider are unchanged.
This commit is contained in:
3 files changed
+2
-2
No files matched your search
@@ -736,7 +736,6 @@ mod tests {
|
||||
("ec.distort.turbulentdisplace", "evolutionOptions/randomSeed", 3470),
|
||||
("ec.distort.transform", "scaleHeight", 3471),
|
||||
("ec.distort.transform", "scaleWidth", 3471),
|
||||
("ec.transition.radialwipe", "feather", 3474),
|
||||
("ec.generate.beam", "startThickness", 3475),
|
||||
("ec.generate.beam", "endThickness", 3475),
|
||||
("ec.stylize.scatter", "amount", 3477),
|
||||
|
||||
@@ -919,7 +919,7 @@ pub fn specs() -> Vec<EffectSpec> {
|
||||
p("startAngle", "Start Angle", num(0.0), ParamUi::Angle),
|
||||
p("center", "Wipe Center", Value::Vec2([0.5, 0.5]), ParamUi::Point),
|
||||
p("wipe", "Wipe", Value::Enum(0), popup(&["Clockwise", "Counterclockwise", "Both"])),
|
||||
p("feather", "Feather", num(0.0), slider(0.0, 360.0, 0.0, 50.0, 1)),
|
||||
p("feather", "Feather", num(0.0), slider(0.0, 32000.0, 0.0, 50.0, 1)),
|
||||
],
|
||||
radial_wipe,
|
||||
),
|
||||
|
||||
@@ -53,6 +53,7 @@ const ROWS: &[(u32, &str, &str, f64, f64)] = &[
|
||||
(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),
|
||||
(3474, "ec.transition.radialwipe", "feather", 0.0, 32000.0),
|
||||
];
|
||||
|
||||
fn path(effect: &str, param: &str) -> String {
|
||||
|
||||
Reference in new issue
Block a user