Questions tagged [depth-of-field]

Depth of Field (DoF) is the distance between the nearest and farthest objects in a scene that appear acceptably sharp when using a lens based camera, although the term is commonly used to simply refer to the presence of unfocused areas.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Evee DoF actual Render different to rendered camera view?

I'm new to Blender and was wondering can anyone shed some light on the following and why this would be happening please? (apologies in advance for any improper terminology) So, I've a rotating sphere ...
JPC's user avatar
  • 1
3 votes
1 answer
212 views

How can I achieve Fake Depth of field for a 2D Image Plane?

Let's say I have an Image plane and a Camera looking at the plane from some angle (large or small).  I want the middle part of the viewport of the camera to be in focus, the rest should be blurred, ...
Dark GT's user avatar
  • 35
0 votes
0 answers
44 views

z-pass get jagged with depth of field on

I was rendering meshes and grease pencil with cycles, when I turned on depth of field, the edges of z-pass get jagged. I use 3060 laptop. Is there any way to solve this issue?
diandianli's user avatar
0 votes
0 answers
9 views

Weird DOF artifacts in Cycles

Is there documentation somewhere on how exactly Cycles renders images with DOF? I assumed it was using one of these two options: It represents the camera as a zero-sized point in space. It spreads ...
relatively_random's user avatar
0 votes
2 answers
52 views

Why am i not getting depth of field in my picture

I cannot figure out why I am not getting a blurry background. I have the f stops all the way down. I have the distance set on my object. If I set the focus object to my object, Everything goes blurry ...
Ricky Bascom's user avatar
2 votes
0 answers
97 views

Simulate projector with depth of field using spotlight

I am quite new to Blender and trying to accurately simulate a projector with an image texture. Currently I simulate the projector using a spotlight with the following shader: which works well enough ...
Nikolai Nøjgaard's user avatar
0 votes
1 answer
92 views

Adding depth of field to Individual passes i.e Emission, Ambient Occlusion, mist, etc?

So I've been using the built in depth of field in blender more on my renders, however I notice this isn't transferred over to any of my passes, making it harder for me in my compositing stage. I've ...
Wupyaup's user avatar
3 votes
1 answer
500 views

How to get rid of white artifacts on the edge when rendering with Eevee DoF

This ugly lights appear in every shot taken with Eevee in dark light condition and a visible F-stop. I made a super easy file to demonstrate it: https://easyupload.io/omaibj This is the shot with and ...
Lucho's user avatar
  • 95
0 votes
0 answers
114 views

Artifacts when using DoF, transparency and VSE

I'm rendering a scene with Cycles and using it in another scene's VSE as a scene strip. It has transparent film settings, and depth of field effect. After putting this together in VSE, along with ...
skrat's user avatar
  • 103
1 vote
0 answers
48 views

Object outlines suddenly clearer partway through render (Eevee) DOP issue?

I've rendered 2 animations in Eevee, and they both have a similar problem where at first the subject of the animation has a nice sort of light wrap/depth of field soft edge sort of thing or I don't ...
JohnnyBoy's user avatar
0 votes
0 answers
166 views

White edge around objects because of Depth of Field - Eevee

This white fringe very often appears in my renders. This began after Eevee's depth of field rework in one of the latest patches. I have this fringe both in blender 2.93 and 2.93.5. The white edge is ...
Code 0.58341 . 6's user avatar
1 vote
0 answers
70 views

creating convex lens but focal length is not accurate [closed]

I made the biconvex lens with the following parameters: focal length=30 mm R1=30.4 mm R2=-30.4 mm lens diameter=19.1 mm center thickness=3.1 mm environment IOR=1 lens IOR=1.515 I set up a 2f optical ...
wayne's user avatar
  • 11
3 votes
0 answers
431 views

there are easy way to set / order 2d object depth in blender?

there are easy way button / shortcut / plugin to set depth each object in blender? TLDR: I need button / function like this: Long Version: I'm (try to) use blender for 2d animation, where I import ...
udn jelek's user avatar
  • 101
0 votes
1 answer
327 views

How can I convert data from camera data node(view distance) into a file output(image or CSV or anything)?

I am trying to extract the location(x,y,z) of the objects from the camera in my scene(highway scene -autobahn). Note: I have imported the .obj file as my scene (obtained from elsewhere, not created by ...
prath171's user avatar
2 votes
0 answers
137 views

How does depth of field work in Blender?

I am currently writing a paper on different renderers, I have created a scene and rendered it with different engines (Arnold, Renderman, Cycles and Luxcore) and it appears that different renderers ...
peter_greger's user avatar
2 votes
0 answers
152 views

Depth of Field - Visible Lines on Distance Change

As the distance of my Depth of Field effect changes (EEVEE), visible lines are drawn across the objects on which the effect is happening. These lines are the 'thresholds', I presume, between different ...
Candle's user avatar
  • 290
0 votes
0 answers
187 views

Depth Pass for Particles in Blender

Can't find much information on this but I have tried using the Depth > Normalize > ColorRamp to control depth pass for particles but doesnt seem to work. Any ideas?
Chris's user avatar
  • 1
0 votes
0 answers
57 views

Generate DOF (not depth) map from blender

I've found several ways to generate depth map from blender, but if my focus point is not the closest one, or the width of my focus area is bigger, I can't really use them to add depth of field later, ...
gtrg's user avatar
  • 27
1 vote
1 answer
499 views

Depth of Field and Depth Pass problem

I seem to be having some trouble getting the look I need from DOF. Below is a render I did with DOF enabled: At first, everything looks fine, but, the corners of the glass box is also blurring, which ...
kingsushi001's user avatar
1 vote
0 answers
46 views

Blender 2.91.2 zooming out from an object until it disappears but will not come back when zooming in

Just loaded Blender 2.91.2 and the object in question is a small table (size x 240mm, y 150mm, z 230mm) and clip start settings are 0.001mm and clip end settings 100000mm. Furthermore, if I zoom out ...
Barry B's user avatar
  • 11
3 votes
1 answer
483 views

How to get rid of defocus node artifacts?

When compositing my render with an alpha over node to be able to edit my background and my foreground separately, if I use a defocus node to give my image some DOF, I always run into those weird ...
Poppip's user avatar
  • 31
2 votes
1 answer
322 views

Camera: Focus Object shift

Is it possible to adjust a camera's focus when DOF is locked to an object ? As in: shift focus forward or back relative to dof.focus_object ?
oaaya's user avatar
  • 310
0 votes
0 answers
192 views

Depth of Field with object copies/instances

My scene has a 3D array of cubes, and the camera is looking at one of the corners: I want to apply a depth of field such that the closest corner cube is in focus, while the cubes in the background ...
YGL's user avatar
  • 101
0 votes
2 answers
341 views

plane/3d object depth of field problem

I have a 3d frog and a plane with an image of a foot. but despite both being equidistant to the camera, foot is out of focus except for where it is in front of froggy. If you look at the image, you ...
Robert's user avatar
  • 176
0 votes
0 answers
765 views

Blender render object scale different from viewport

So I've been doing this animation in Blender, but when I hit render to check on the lighting, I found that one of the object changed. Here's the picture of the viewport: And here's the render result (...
Rizqi Rabbani's user avatar
1 vote
0 answers
787 views

Use depth of field only for some objects and not for others

I am using depth of field, that is connected from camera to object, but I want to not cause blur efect for 2 other objects, is it even possible?
Dudzioo's user avatar
  • 11
1 vote
0 answers
176 views

how do I... comp/blur/depth of field an object so that it comes into view as the camera dollys?

Bad headline sorry, here's a frog in a cage the idea is, we first see froggy through the bars, which are so blurry we cant really figure them out. as shown in this comp attempt ^above^ .because the ...
Robert's user avatar
  • 176
1 vote
1 answer
296 views

Is there a way to set depth of field to the _closest_ point on a focus object, or do it via nodes?

I'd like the in-focus plane to always be 1 meter closer to the camera than the center of the focus object, or equivalently the closest point on a 1-meter sphere at the center of the focus object. I ...
GaryO's user avatar
  • 545
1 vote
0 answers
386 views

Eevee Depth of Field causes weird pixels at the edge

I am rendering an image with the Depth of Field setting on the camera. This causes the edge pixels on the right-hand side to display an unwanted solid color. Here is an image from the viewport preview ...
Codezilla's user avatar
0 votes
2 answers
2k views

Set Camera Depth of Field so that the character is not blurry, but the scene behind it is

I set a scene in evee and I really like the effect of the Camera Depth of field. In this scene I have a character right in foreground. The effect of the camera blurs it way too much. Is there ...
Andrea's user avatar
  • 1
1 vote
1 answer
3k views

Depth of Field with Grease Pencil Objects not working

I have two grease pencil objects: one at origin and the other at Y: 92m (far back from the camera.) I'm trying to get the background to be blurred using the camera. (I know I can blur the object ...
user-is-here's user avatar
0 votes
0 answers
157 views

Particle System error with Depth of Field

I'm trying to make a shot in a grassy field with a DoF effect but the grass particle system is having errors with it. I've outlined where it's visible. The DoF focus is just in front of the radio. I ...
DieselD261's user avatar
2 votes
0 answers
232 views

Depth of Field on Particles Disappears in Front of Plane

I created a simple animation with an image plane and a particle effect. The particles are an image of a flower petal with transparency mapped onto a plane. I used the Eevee render engine. I wanted to ...
Jaki Rose's user avatar
1 vote
0 answers
154 views

Animating Depth of field - not smooth change of focus

I've been trying to animate simple change of focus between background or foregroud. Everything should be fine, but for some reason focus change is not fluid - it looks like its changing depth of field ...
adamesko's user avatar
0 votes
0 answers
599 views

(EEVEE) Can't get Depth Of Field to focus on one object! (.Blend file included)

i'm currently having a huge problem where i cant seem to make the camera focus on only one object, i want it to focus on the rabbit character: https://i.gyazo.com/8a12c2843f8448bd6b2120e10753aa2e.gif ...
Crowny Valentine's user avatar
6 votes
2 answers
907 views

Swirly bokeh like that of a Helios 44m 2/58?

I recently discovered the Helios 44m, a lense which produces some awesome swirly bokeh effect unlike anything else I've seen. I can't get one for myself, but I was wondering if there's a way to ...
kramkor's user avatar
  • 71
1 vote
0 answers
48 views

Dynamic occlusion-based target object for DOF

Is there a way (during animations) to have a Depth Of Field target calculated dynamically, based on the first occlusion plane that rays shooting from the centre point of the camera encounter? This as ...
Joachim's user avatar
  • 373
1 vote
1 answer
125 views

Custom Depth of Field in User Perspective view?

Hello is it possible to set different Depth of Field when editing 3D model in Perspective view? Not in rendering.
Eldar's user avatar
  • 11
8 votes
2 answers
691 views

Depth of Field on glossy surfaces (cycles)

I have made a scene in Blender where there is a glossy ball on an icy lake. I noticed that there is no Depth of Field on the reflection of the ball. I could add a fake Depth of Field in post-...
Herra Joku's user avatar
0 votes
0 answers
46 views

Getting consistent image with distributed rendering

I have a homemade render farm that I cobbled together out of several retired PCs. My script splits the image into several slices, sends each slice to a node (6 slices for 6 nodes) and then combines ...
ry_ol's user avatar
  • 3
0 votes
1 answer
246 views

Problem with depth of field in specular reflection

The reflection is not correct in the bottom. As you can see everything around it is blurred, except for the reflection of the railing. How do I fix this? I'm using 2.8 and cycles for rendering.
Toby van der Veer's user avatar
1 vote
1 answer
505 views

How to make a cell?

I am realtively new to Blender. I want to make an animation of a cell, but I don't know how to set up the nodes for that. I would like to have a microscope-effect, with a prism-like refraction on ...
Lothar's user avatar
  • 31
2 votes
0 answers
316 views

How to blur only the foreground?

like in photography I would like to have a blurry foreground and the rest of my scene focused to infinity (including the world background), I was unable to get this effect using the Depth of Field ...
Steve's user avatar
  • 21
1 vote
1 answer
494 views

Can cycles render motionblur and dof at the same time in 2.80?

I'm trying to wrap my head around this. I've got a simple scene with some falling cubes which I'd like to render in cycles. When I activate motion-blur, it renders with motion-blur without a problem. ...
Ton's user avatar
  • 11
4 votes
1 answer
7k views

Depth of field in EEVEE not focusing on selected object, works fine in cycles

I can't wrap my head around this. For some reason, no matter how much I try, I can't get the depth of field setting to do anything but make my entire shot blurry. My goal here is to have the F/C in ...
Jboogsthethug's user avatar
2 votes
1 answer
95 views

Surface rendered with a different blur frame by frame

I'm using Blender 2.79 to render an animation. While many frames look consistent, every three or four frames, a series of frames crop up where a surface is rendered differently than the rest, often ...
xcelspreadsheet's user avatar
0 votes
1 answer
513 views

Increase the length of the z-buffer [duplicate]

I am using the examples already given here, i.e. Convert depth/z value to RGBA The problem I am facing here is to increase the depth. If one sees clearly a blue pattern starts from a close distance ...
Muttahir Mumtaz's user avatar
1 vote
1 answer
161 views

Separate Red And Blue When Blurred

I want my depth of field to be separated like this
Tech Crate's user avatar
3 votes
1 answer
1k views

Custom Bokeh Shapes

I'm trying to make a Bokeh background like this: I've got the Bokeh in blender with a particle system copying a sphere that has an emission modifier. I'm using the depth of field to blur out the ...
The Nuckster's user avatar
0 votes
2 answers
2k views

Blender 2.8 Eevee depth of field "geometry clipping" issue

I have a problem with strange depth of field artifacts in Eevee on my Mac Pro (tech specs on the pictures below). It looks like everything is what it should be. defocused is cliped by the camera (but ...
Maciej Sobolewski's user avatar