PDA

View Full Version : Auto Focus



creativecontrol
05-31-2007, 08:36 AM
Does anyone know if there is a way to have the focus distance continuously calculated to follow a null object (or something to that effect)?

Lightwolf
05-31-2007, 09:12 AM
Here is a quick tutorial: http://www.lightwiki.com/Interactive_Depth_of_Field

Another option is to use an expression on the Focal Distance Channel using the vmag() function (which returns the length of a vector).

Something like:

vmag( Camera.wpos(Time)- FocusObject.wpos(Time))

Cheers,
Mike

creativecontrol
05-31-2007, 09:54 AM
Thanks!!!

Lightwolf
05-31-2007, 10:14 AM
Thanks!!!
You're very welcome!

Cheers,
Mike

Matt
05-31-2007, 12:42 PM
Or use this to avoid any expressions:

http://www.flay.com/GetDetail.cfm?ID=1304

Lightwolf
05-31-2007, 12:54 PM
http://www.flay.com/GetDetail.cfm?ID=1304
By the time I've found the link on _that_ page I'd have 10 scenes set-up... at least ;)

Cheers,
Mike

Matt
05-31-2007, 06:15 PM
Here you go Mike ;)

http://www1.odn.ne.jp/~aaa41320/plugins/dof_s.html