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
1 vote
0 answers
33 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 ...
0 votes
0 answers
32 views

Depth of Field issues with reflection plane in EEVEE

I've been searching and haven't been able to find an answer anywhere but I'm trying to figure out how to make the focal point of a glass object accurate when depth of field is enabled. I am trying to ...
0 votes
0 answers
14 views

Depth of Field areas are crawling

I'm using a short focal length in a render (Blender 3.2) and the out-of-focus areas in the background are 'crawling', like the ripples above a road on a hot day. I've changed the type of denoising to ...
0 votes
1 answer
52 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 ...
3 votes
1 answer
262 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 ...
  • 85
0 votes
0 answers
91 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 ...
  • 103
1 vote
0 answers
43 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 ...
0 votes
0 answers
115 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 ...
1 vote
0 answers
48 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 ...
  • 11
3 votes
0 answers
267 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 ...
  • 103
0 votes
1 answer
239 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 ...
2 votes
0 answers
98 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 ...
2 votes
0 answers
101 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 ...
  • 290
0 votes
0 answers
127 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?
  • 1
0 votes
0 answers
44 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, ...
  • 27
1 vote
1 answer
366 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 ...
1 vote
0 answers
45 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 ...
  • 11
3 votes
1 answer
389 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 ...
  • 31
2 votes
1 answer
219 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 ?
  • 310
0 votes
0 answers
147 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 ...
  • 101
0 votes
2 answers
211 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 ...
  • 156
0 votes
0 answers
538 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 (...
1 vote
0 answers
432 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?
  • 11
1 vote
0 answers
121 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 ...
  • 156
1 vote
1 answer
210 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 ...
  • 535
1 vote
0 answers
338 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 ...
0 votes
2 answers
1k 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 ...
  • 1
1 vote
1 answer
2k 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 ...
0 votes
0 answers
142 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 ...
2 votes
0 answers
205 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 ...
1 vote
0 answers
123 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 ...
0 votes
0 answers
527 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 ...
6 votes
2 answers
723 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 ...
  • 71
1 vote
0 answers
44 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 ...
  • 334
1 vote
1 answer
114 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.
  • 11
8 votes
2 answers
624 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-...
0 votes
0 answers
41 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 ...
  • 3
0 votes
1 answer
226 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.
1 vote
1 answer
461 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 ...
  • 31
2 votes
0 answers
256 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 ...
  • 21
1 vote
1 answer
449 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. ...
  • 11
4 votes
1 answer
6k 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 ...
2 votes
1 answer
93 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 ...
0 votes
1 answer
387 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 ...
1 vote
1 answer
130 views

Separate Red And Blue When Blurred

I want my depth of field to be separated like this
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 ...
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 ...
1 vote
2 answers
4k views

Why is my render blurry?

In the camera settings I didn't set anything regarding Depth of Field but it is still really blurry. I have bump maps included in the sofa, curtains, floor but none is visible because of the ...
  • 23
1 vote
1 answer
628 views

Rendering depth of field through transparent objects in blender render

i’m New to blender and I’ve had a dabble with rendering bokeh. I have made this image with transparent orange blobs in blender render using refocus node. In the image the orange blob is in the ...
1 vote
3 answers
556 views

Rotated Gradient Blur in Compositor

I have a rendered image (actually sequence of images) and want to 'fake' a depth of field in the compositor by using a blur, or a defocus. My preconceived notion was that I should produce a gradient ...
  • 129