mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
#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:
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.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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user