Forum Replies Created

  • Sebastian Martinez

    January 16, 2014 at 11:06 am in reply to: Blur and Camera Distance

    it is not much editing just a bit of math:

    the ‘-100’ value in the second to last line makes the difference: in my try it lowers the blur amount under ‘0’ (minus x), thus there are no negative values possible is just becomes ‘0’ and your object stays sharp.

    if you move the cam away the blur raises over ‘0’ and your object starts to blur.

    ‘-100’ was good in my setup. have a try…

    i’m not precluding a better method.

    repects,
    sebastian

    // Blur from Distance to Camera
    dist = length(thisComp.layer("Camera_1_Shape1").position/12, position/2);
    B = (dist/20) - 100;
    [B]

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy