I have tried on several occasions to use depth of field. Can some one please explain how to set up the focal distance... I have turned the camera on and created a line from the camera to the object and used the read out on the distance but this does not seem to work so well when the camera is angled.
here... try this:
it adds a command to "setTargetPlane"
My method for setting up DOF is to turn on the camera in the Perspective view (F6) and use Osnaps to measure (Distance) from the point at the back of the camera to the current target point on the camera or to a point on the model. The distance is reported in the command line. I then enter this value in the DOF settings instead of using the active view target. The default f-stop of 7 is rarely appropriate in my experience. I usually enter something between 12 and 18.
very interesting discussion!
so i want to try the dof!
lets see if i understand right
in the UP view i must measure the distance between back camera side and the point i would like see blurry
lets do an example:
i would see perfectly clear, the red box in first plane,and a little bit blurry the sphere!
what i might do?
Yes, measure from the back of the camera to the object that you want to be in focus. I'd use Neon too in order to see the effect in real time.
neon works only for R5?
or goes OK also under R4?
Only v5 as noted on the Neon page... http://v5.rhino3d.com/group/neon if you have v4 you can use v5 as well.