Skip to main content

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
24 votes
3 answers
31k views

How can I get a Depth of field render pass?

How can one make a render pass with black and white data to display depth of field based on the Settings > Camera dof settings? I want to blur or defocus in the compositor, similar to the way it is ...
dimitarsp's user avatar
  • 1,386
30 votes
2 answers
13k views

How to create Bokeh circles?

How can I render bokeh circles? Nothing I do seems to work. I tried using an empty as the focus point for a cube, with some point lamps in the background with about 2000 strength, but it doesn't ...
jamius19's user avatar
  • 493
12 votes
1 answer
2k views

Blender (Cycles) Manual DOF

Is is possible to increase the depth of field in cycles while keeping the same blur size? I know this is not physically correct, but in some renders this would be useful. Here is a demonstration of ...
Matthew D. Scholefield's user avatar
6 votes
1 answer
27k views

How do I set focus range?

I know about depth of field but I have no clue how to set it to my liking. Is there an add-on for those of us who aren't camera savvy about adjusting focus? Like a visual line to show what is in ...
Eric Huelin's user avatar
  • 2,251
10 votes
4 answers
20k views

Render depth maps with world-space z distance with respect the camera

I am trying to write the depth map of a scene in a 16-bit PNG, without any sort of normalization. I would like to pixels of such depth image to be set to the distance with respect to the camera, and ...
Dan's user avatar
  • 245
13 votes
1 answer
2k views

2d vs 3d Depth of Field

What is the difference between Depth of Field rendered at render time (3d) compared to Depth of Field created in post (2d). Both are depth of field, they look very similar if not the same. 2d depth of ...
Vader's user avatar
  • 14.8k
5 votes
1 answer
8k views

Depth of Field F-stop not doing anything?

I'm trying to achieve DOF using Blender Internal 2.75a. Everything seems to work, except that the F-stop doesn't seem to do anything, nor in the Defocus node nor in the camera DOF settings. I just get ...
Aardo's user avatar
  • 1,582
5 votes
1 answer
2k views

Bokeh - From Horizontal to Vertical

Hi guys I want my camera to display vertical bokeh stretch instead of horizontal. The rotation option in DOF settings of camera, doesnt rotate the bokeh. Horizontal stretched bokeh (low res render ...
TmkDigital's user avatar
10 votes
2 answers
6k views

How to create real tilt-shift lens blur in Blender?

I basically want to rotate the DoF-Plane just as a real tilt-shift lens does, so that the depth influences the blur and not a gradient. Is there a way to recreate this effect in blender?
the just shaping of letters's user avatar
8 votes
1 answer
24k views

Z depth pass in Cycles, rendering white [duplicate]

Using Cycles as a render engine, I assigned an empty as a camera Track To target, and as the focus target in Depth of Field, yet rendering the scene, the depth pass is rendering all white, as if there'...
Georges D's user avatar
  • 5,022
6 votes
2 answers
6k views

Can I model a double convex lens

I'm fairly new to blender and not a graphics person by any stretch of the imagination. I've been having some success though modelling semi-reflective glass for a project I wish to build (physically) ...
sebinho's user avatar
  • 63
6 votes
1 answer
4k views

Can I control depth of focus (v depth deph of field)

I'm creating some studio-shot style images of products. I'm trying to get the foreground elements in focus while having the background blur slightly. I've done a lot of real world studio photography ...
Lucas Wild's user avatar
6 votes
1 answer
4k views

Depth of field is not being rendered in Blender Internal

I have quite an annoying thing, that I don't know how to do. I'm about to render a small clip, but I don't know how to enable Depth of Field in animations render to make it visible in the final ...
505Legion's user avatar
  • 423
3 votes
2 answers
3k views

Depth of Field in 2.68? [duplicate]

I can't get "depth of field" to work as expected in version 2.68. Here are the steps I'm taking (from a brand new file): I clone the default cube a few times, and place all the cubes in a row. I go ...
jrc03c's user avatar
  • 131
7 votes
3 answers
5k views

Noisy depth of field

So I tried one of the Blender Guru tutorials, which ends with depth of field settings. The blurred lights are however too noisy: Which is strange, because when I turn DOF off, the distant droplets ...
Milan Smolík's user avatar
6 votes
2 answers
4k views

Is it possible to create a render layer with no depth of field?

I find that using depth of field (DOF) distorts the render pass masks, especially for very out of focus objects with a low f-stop (large aperture). I am trying to get around this by making a separate ...
PGmath's user avatar
  • 25.2k
3 votes
4 answers
3k views

Mist + dof + alpha in cycles

I'm working on an animation where I want both mist and dof combined with a rather dark world background. The main problem is my mist pass washes out my background, and the only solution I found was ...
achoc's user avatar
  • 33
3 votes
3 answers
8k views

How to display F-stop limits in viewport?

I know you can show focus limit in viewport by checking the Display > Limits on, but can you show the starting and ending points of focused area in viewport? Now I have been rendering the image over ...
Johanna84's user avatar
15 votes
2 answers
23k views

Real depth of field in blender, without post processing

Last time I checked, blender could only render depth of field effects in a post process pass, using the "Defocus Node", which seemed to get it quite wrong. Is there now a way to include rays across a ...
jozxyqk's user avatar
  • 1,221
9 votes
2 answers
2k views

How to get Smoke into Z-Depth Pass?

Is it possible to render smoke into the Z-Dpth pass? I did a setup following the advices found here but it renders only the domain as geometry no smoke.
hampo's user avatar
  • 91
5 votes
1 answer
1k views

Why is the Z very noisy around out of focus objects?

I am doing a render of a tutorial I finished, and when I go compositing it I get a weird jitter on a defocused object. The tutorial had this too (at 1:04:00), but I wonder if it is possible to remove ...
Gus's user avatar
  • 399
5 votes
2 answers
1k views

Creating depth of field from Beauty+Depth passes (rendered in another software)

Creating DoF in the compositor is very easy if you have the scene rendered in Blender and the camera depth set right. But what if you rendered a beauty (raw render) and depth pass in another program? ...
Greg Zaal's user avatar
  • 10.9k
4 votes
2 answers
8k views

Z-buffer output from blender as file

I am trying to synthetically generate depth image mimicing a real Kinect. So I have set the camera params as below using python script. I have setup the nodes and able to get the depth image as ...
desinghkar's user avatar
2 votes
1 answer
2k views

Get a full numeric z-depth from a rendered image

I know this issue has been mentioned before but I looked at all similar questions and did not find my exact answer. So here is my problem: I need to get a full depth map of my render. I mean the ...
erfoon's user avatar
  • 97
1 vote
2 answers
2k views

Animating the camera's focus during a render with motion blur

From another perspective: "Focus tracking during exposure" OK, so this is probably pretty obscure, but it looks like the motion blur system in cycles isn't taking into account camera focus over time. ...
jozxyqk's user avatar
  • 1,221