3 Replies Latest reply on Jan 7, 2009 8:59 AM by (Steve_Dorsey)

    Quick help? Tracking distance for DOF camera.


      I'd like to add DOF to my camera, but I'm in a bit of a hurry (as always) and I don't have a lot of time.

      I figured out the DOF thanks to this tutorial:

      http://www.cgsutra.com/adobe_after_effects_tutorials/a0007_depth_of_field/ae_depth_of_fiel d.php

      Now, I'd like to keep a specific layer in focus with the other 3D layers moving in and out of focus as the camera rotates around in 3D.

      Is there a way to measure the distance from the camera easily so I can use that value to animate the DOF and get some great focus while the camera moves and changes distance from the main layer?