Frage von animiermädchen:Hi,
I'm not After Effects but expression beginner and have the following problem:
In my animation, various Typoelemente about the blurring of the focal distance of a level, a camera-and hidden. This works synonymous, look not only blurs beautifully soft, but bulky. Therefore I would like to create an expression on my Typoebenen that corrects the Gaussian by a blur.
How do I formulate expression that regulates the blur intensity depending on the Fokusentferung?
Thanks in advance for answers!
Antwort von Mylenium:
[Code: 1: fda1475056] / / camera
Clay = thisComp.layer ("Camera");
cPos = cLay.transform.position;
cFocus = cLay.cameraOption.focusDistance;
/ / Layer
mPOS = thisLayer.transform.position;
/ / Distance
cDist = length (MPOS, cPos);
/ / Parameters
minDist = 800, / / start blur
MAXDIST = 1000, / / end blur
maxBlur = 5 / / blur radius
/ / Mapping
linear (cFocus minDist, maxdist, 0, maxBlur) [/ code: 1: fda1475056]
Mylenium