mandag den 25. februar 2013

One-sided layers

//found on :http://www.mographwiki.net/After_Effects_expressions_library
 
Apply this expression to the opacity attribute and it'll disappear 
whenever it's flipped away from the camera. You need to have an active 
camera in your composition for this one to work.
 
 
a = toWorldVec([0,0,1]);
b = thisComp.activeCamera.position - toWorld(anchorPoint);
c = dot(a,b)/length(b);
if (c > 0) 0 else value

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