mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
#3471: Transform: Scale Height and Scale Width take After Effects' range
Scale Height and Scale Width take -30000..30000 %, After Effects' recorded valid range in the same units. The CPU and GPU share the matrix (transform_matrix_px) and the buffer growth, which is capped at 16 Mpx (transform_grow; the CPU test already renders 100000 %), so larger scales stay bounded. Default and slider are unchanged.
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -734,8 +734,6 @@ mod tests {
|
||||
("ec.blur.ccradial", "amount", 3468),
|
||||
("ec.distort.turbulentdisplace", "amount", 3469),
|
||||
("ec.distort.turbulentdisplace", "evolutionOptions/randomSeed", 3470),
|
||||
("ec.distort.transform", "scaleHeight", 3471),
|
||||
("ec.distort.transform", "scaleWidth", 3471),
|
||||
("ec.time.pixelmotionblur", "shutterAngle", 3481),
|
||||
("ec.time.pixelmotionblur", "shutterSamples", 3482),
|
||||
("ec.noise.fractal", "subSettings/subInfluence", 3485),
|
||||
|
||||
@@ -506,8 +506,8 @@ pub fn specs() -> Vec<EffectSpec> {
|
||||
p("anchor", "Anchor Point", pt(0.5, 0.5), ParamUi::Point),
|
||||
p("position", "Position", pt(0.5, 0.5), ParamUi::Point),
|
||||
p("uniform", "Uniform Scale", Value::Bool(true), ParamUi::Checkbox),
|
||||
p("scaleHeight", "Scale Height", num(100.0), slider(-10000.0, 10000.0, 0.0, 600.0, 1)),
|
||||
p("scaleWidth", "Scale Width", num(100.0), slider(-10000.0, 10000.0, 0.0, 600.0, 1)),
|
||||
p("scaleHeight", "Scale Height", num(100.0), slider(-30000.0, 30000.0, 0.0, 600.0, 1)),
|
||||
p("scaleWidth", "Scale Width", num(100.0), slider(-30000.0, 30000.0, 0.0, 600.0, 1)),
|
||||
p("skew", "Skew", num(0.0), slider(-70.0, 70.0, -70.0, 70.0, 1)),
|
||||
p("skewAxis", "Skew Axis", num(0.0), ParamUi::Angle),
|
||||
p("rotation", "Rotation", num(0.0), ParamUi::Angle),
|
||||
|
||||
@@ -57,6 +57,8 @@ const ROWS: &[(u32, &str, &str, f64, f64)] = &[
|
||||
(3477, "ec.stylize.scatter", "amount", 0.0, 1000.0),
|
||||
(3475, "ec.generate.beam", "startThickness", 0.0, 4000.0),
|
||||
(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),
|
||||
];
|
||||
|
||||
fn path(effect: &str, param: &str) -> String {
|
||||
|
||||
Reference in new issue
Block a user