Home > Article > Software Tutorial > A simple method to use depth of field defocus in blender
Want to add realism to your renderings? Try Blender’s Depth of Field Defocus feature! Depth of field defocus is a photography technique that brings a specific area of an image into focus while blurring the background. It helps create a realistic effect that makes your renders stand out from the crowd. In this article, PHP editor Youzi will gradually introduce how to use depth of field defocus in Blender, from setting camera parameters to adjusting aperture and depth of field. Scroll down to unlock the secrets of Blender’s Depth of Field Defocus and bring your renders to life!
Create multiple cubes and planes in blender.
Press the [0] key and switch to the [Camera View] where you can see the cubes arranged in a straight line.
Shift a key, create an empty object through [Control Object]--[Pure Axis], and place it at the cube position. This is the [Focus Position].
Select [Camera] in the property navigation on the right, and select [Empty Object] as the focus in the depth of field.
Switch to [Compositing] synthesis processing.
Click [Composite Processing] at the bottom, check [Use Focus] and shift a to create [Image] and [Defocus].
The node connection method is as shown in the legend, [Caustics], bokeh type: circular, aperture level: fill in [2], set according to your actual situation, the larger The larger the focus range, check [Use Z Buffer] and f12 rendering can see the effect.
You need to select [Focus Position], you can move the [empty object] to the specified position, and set the position animation of the empty object in the animation to get the focus animation effect.
The above is the detailed content of A simple method to use depth of field defocus in blender. For more information, please follow other related articles on the PHP Chinese website!