-
Expression that links fast blur to Camera position?
Hi Everyone,
Forgive me. I basically stumble my way around expressions and beg for help when I’m over my head. Does anyone have a quick expression that links fast blur to the distance or position of a camera – or can point me in the right direction?
I found this but it’s not working quite like I need it to.
// Blur from Distance to Camera
dist = length(thisComp.layer(“Camera 1”).position, position);
B = dist/100;
[B]I attached it to the “Bluriness” of “Fast Blur” but the blur doesn’t seem to change when I move the camera around.
The thing is, I have a ton of layers in z space spread out like a grid. The camera is flying around as some of these layers take center stage and others go back.. The ones that aren’t featured need to go out of focus a little. I can do it by hand, of course, but I think it would be much more realistic with an expression (not to mention less time consuming).
Thank you all for any help!
Best,
Tara
// Blur from Distance to Camera
dist = length(thisComp.layer("Camera 1").position, position);
B = dist/100;
[B]