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
23
votes
3answers
25k 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 ...
28
votes
2answers
9k 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 ...
12
votes
1answer
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 ...
8
votes
4answers
10k 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 ...
13
votes
1answer
1k 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 ...
5
votes
1answer
15k 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 ...
9
votes
2answers
3k 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?
4
votes
1answer
878 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 ...
5
votes
1answer
7k 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 ...
5
votes
1answer
14k 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'...
6
votes
1answer
3k 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 ...
3
votes
2answers
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 ...
6
votes
1answer
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 ...
6
votes
2answers
2k 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 ...
3
votes
4answers
1k 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 ...
3
votes
3answers
5k 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 ...
8
votes
2answers
1k 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.
3
votes
1answer
5k 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 ...
1
vote
2answers
1k 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. ...
14
votes
2answers
21k 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 ...
6
votes
1answer
583 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 ...
2
votes
1answer
776 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 ...
6
votes
3answers
3k 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 ...
5
votes
2answers
868 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? ...
4
votes
2answers
3k 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) ...