Using the Cycles camera's depth of field
Creating images using a 3D program is often all about imitating reality. When we take a picture, something that often occurs is that some of the objects are out of focus. Such an effect is called depth of field (DOF) and is what we are going to recreate in this recipe.
Getting ready
Our first scene in Cycles is almost ready. However, we can still do a couple of things to make it look even more realistic. We will now see how to add a nice DOF effect.
How to do it...
To recreate the DOF effect in Cycles, let's follow these steps:
- Let's jump in now to our scene in Blender and select the camera. First of all we need to set the point in the scene where we want to keep the focus. To do this we need to select the camera and go to the Object Data menu (the one with the little camera icon).
- From here we need to activate the Limits option in the Display panel. In the viewport we will see that the camera now has a line going towards where it is looking...