|
|
Topic: DOF Focus Dummy
posted by nagboy/Vlado/Egz
archived on 17.4.2003
In the DOF rollout, it would be nice to have a "Pick Focus Object" instead of use camera target. This way you can have focus wherever you like without animating the track and you can actually use free cameras. The problem with the one now is that you are forced to use target cameras. Typically in the scenes we work with there are a dozen cameras to be rendered, animating the focal distance track is not an option.
Follow-ups
Comment: You can do this with a MaxScript expression controller easily...
A: got the master (Vlado) to help me with some 3D math and this is how you do it:
Wire the camera Target distance to the helper position. Make it a one way connection, from the helper to the camera.
Then enter this expression:
-(dot $camera01.transform[3] ($helperName.position-$camera01.position))
Replace camera01 with your camera name, and helperName with your helper name.
Works perfectly here. Thanks Vlado!
> print this entry
|
 |
|
|