#3475: Beam: Starting and Ending Thickness take After Effects' range

Starting and Ending Thickness take 0..4000, After Effects' recorded valid
range in the same units (pixels). The CPU and GPU renderers draw the beam
per pixel from its distance to the segment, within the layer's buffer, so
a thicker beam 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 c4cd9f1c2e
commit 3bd7de6ad8
3 files changed
+4 -4

No files matched your search

-2
View File
@@ -736,8 +736,6 @@ mod tests {
("ec.distort.turbulentdisplace", "evolutionOptions/randomSeed", 3470),
("ec.distort.transform", "scaleHeight", 3471),
("ec.distort.transform", "scaleWidth", 3471),
("ec.generate.beam", "startThickness", 3475),
("ec.generate.beam", "endThickness", 3475),
("ec.time.pixelmotionblur", "shutterAngle", 3481),
("ec.time.pixelmotionblur", "shutterSamples", 3482),
("ec.noise.fractal", "subSettings/subInfluence", 3485),
+2 -2
View File
@@ -1111,8 +1111,8 @@ pub fn specs() -> Vec<EffectSpec> {
p("endPoint", "Ending Point", pt(0.75, 0.5), ParamUi::Point),
p("length", "Length", num(25.0), pct()),
p("time", "Time", num(0.0), pct()),
p("startThickness", "Starting Thickness", num(8.0), slider(0.0, 1000.0, 0.0, 100.0, 1)),
p("endThickness", "Ending Thickness", num(8.0), slider(0.0, 1000.0, 0.0, 100.0, 1)),
p("startThickness", "Starting Thickness", num(8.0), slider(0.0, 4000.0, 0.0, 100.0, 1)),
p("endThickness", "Ending Thickness", num(8.0), slider(0.0, 4000.0, 0.0, 100.0, 1)),
p("softness", "Softness", num(20.0), pct()),
p("insideColor", "Inside Color", col(1.0, 1.0, 1.0), ParamUi::Color),
p("outsideColor", "Outside Color", col(0.4, 0.4, 1.0), ParamUi::Color),
+2
View File
@@ -55,6 +55,8 @@ const ROWS: &[(u32, &str, &str, f64, f64)] = &[
(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),
(3475, "ec.generate.beam", "startThickness", 0.0, 4000.0),
(3475, "ec.generate.beam", "endThickness", 0.0, 4000.0),
];
fn path(effect: &str, param: &str) -> String {