Dof

Hi guys,

On my first attempt with depth of field, Here is an example I got. Attached is the .blend for anyone that wants to take a look and let me know what you think. Very simple but you have to learn somewhere!

Please let me know what you think!

ps. I got the tutorial from:
http://wbs.nsf.tc/tutorial/tutorial_dof_e.html

What if I wanted to animate this. how would I do that with this setup?

http://img88.imageshack.us/img88/6018/dofvi2.jpg

You cannot animate this setup but you can if you use the DoF node so, it’s sort of a trade off between focal point or focal plane thickness. I would suggest that you adjust your color ramp so that you have a smoother transition between your focal plane and the background because that’s a fairly harsh transition. Also using FSA rather than OSA will give you exponentially better results when working with depth channels. Finally lower the filter (Gauss in this case) to it’s lowest setting (0.50) for best quality…this is basically the pixel spread between image samples and higher settings result in rougher antialiasing. Note that the filters work backward from their original intent when using FSA as opposed to OSA, i.e. gauss is sharpest while catrom is blurriest.

You can see how all of this is done in the posted screenshot…the SaveBuffers option gives you the FSA option.

Attachments


Hi!;

Could anyone please give further information on how to animate the specific DoF of a camera, without moving the camera itself?

Is it possible to achieve such effect with IPO curves? If so, which would be the parameter to edit?

I have tried several times to make it, but to no avail.

Thanks in advance to any response;

marceljoyce.

You can give this method a try. You control the dof with an empty, so I guess it’d be easier to animate.

http://vimeo.com/1756578

More complex rack-focus effects can also be done:

Rack Focus using Defocus node

This example used the BLenses script I wrote for improved focal length emulations.

If you’re interested I’ll see if I can dig up the .blend for this one and make sure it works OK with current versions of Blender.

Thanks, Sick and Chipmasque, for your help!

I’ll try first with the Empty method…looks like a goog straight-forward way to do it.

And Chipmasque, carry on the good work, hope you are able to make it compatible with the latest versions!

Cheers;

marceljoyce.