Infoseite // Help: Gaussian Blur expression for Fokusentferung



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!

Space


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

Space





slashCAM nutzt Cookies zur Optimierung des Angebots, auch Cookies Dritter. Die Speicherung von Cookies kann in den Browsereinstellungen unterbunden werden. Mehr Informationen erhalten Sie in unserer Datenschutzerklärung. Mehr Infos Verstanden!
RSS Suche YouTube Facebook Twitter slashCAM-Slash