Home  >  Article  >  Software Tutorial  >  A simple method to use depth of field defocus in blender

A simple method to use depth of field defocus in blender

WBOY
WBOYforward
2024-04-18 12:40:17777browse

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.

A simple method to use depth of field defocus in blender

Press the [0] key and switch to the [Camera View] where you can see the cubes arranged in a straight line.

A simple method to use depth of field defocus in blender

Shift a key, create an empty object through [Control Object]--[Pure Axis], and place it at the cube position. This is the [Focus Position].

A simple method to use depth of field defocus in blender

Select [Camera] in the property navigation on the right, and select [Empty Object] as the focus in the depth of field.

A simple method to use depth of field defocus in blender

Switch to [Compositing] synthesis processing.

A simple method to use depth of field defocus in blender

Click [Composite Processing] at the bottom, check [Use Focus] and shift a to create [Image] and [Defocus].

A simple method to use depth of field defocus in blender

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.

A simple method to use depth of field defocus in blender

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.

A simple method to use depth of field defocus in blender

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!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete