onsdag den 28. oktober 2009

Opacity - depentet of distance to camera

//Atomic - Aenhancers.com

camSource=thisComp.layer("Camera 1").position;
footSource=thisComp.layer(index).position;
minDist=1000;
maxDist=2500;
minBright=0;
maxBright=100;

distance=length(footSource,camSource);
darken=ease(distance,minDist,maxDist,maxBright,minBright);
AE POSTWORK blog is virtually just a notepad, where I put all the AE expressions up I finde and use, its so I can easily get to them wherever I am and no matter what computer I sit at. I do not write my own expressions, so all expressions on the page is downloaded from the web,or modify versions i found. and tutorials etc.. I will try to credit those who have made expressions if I can.

Now, with tips and tricks for AE & C4D.
No more forgetting the little tricks and tips I found on my road with After Effects, etc.

Sebabba