ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Far Vanish and Near Vanish AE Layers

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Cassius Marques
Re: Far Vanish and Near Vanish AE Layers
on Aug 13, 2019 at 2:25:17 pm

Sure:startFadeNear = 300;
endFadeNear = 600;
startFadeFar = 800;
endFadeFar = 1500;

C = thisComp.activeCamera.toWorld([0,0,0]);
P = toWorld(anchorPoint);
e = length(C,P);

if (e<600)

linear(e,startFadeNear,endFadeNear,0,100)
else{
linear(e,startFadeFar,endFadeFar,100,0)
}


Cassius Marques
http://www.zapfilmes.com


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]