Activity › Forums › Adobe After Effects Expressions › linking luminace value to scale
-
Anton Arkh
August 19, 2010 at 5:56 pmYou, sir, are a genius! Thank you very much for a very quick and precise answer! It works perfectly!
-
Criis Daw
November 15, 2010 at 1:04 pmhello DAn
I dont suppose you mind revisiting this do you ??
I am trying to adapt the this to z value not scale ..
No luck so far but i will keep trying
this is my effort but it doesnt work (on the z position (i separated dimensions)
min= 0;
max= 1000;
L = thisComp.layer(“displacement image”);
sampleSize = 1;
point = L.fromWorld(toWorld(anchorPoint));
sample = L.sampleImage(point,[sampleSize,sampleSize]/2,true,time);
lightness = rgbToHsl(sample)[2];
s = linear(lightness,min,max); -
Dan Ebberts
November 15, 2010 at 4:27 pmIt seems to work for me. In what way does it not work for you?
Dan
Reply to this Discussion! Login or Sign Up