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
0answers
668 views

How to get the right values for Z depth rendering

I wonder how I can set the values in the Map Value node to get the best output. I want the pixels values of objects to be rendered according the to the distance from the camera in meters unit. I'm ...
2
votes
3answers
2k views

depth of field to work not working

I have blender 2.78 and I am trying to get the depth of field to work, but I just can't make it. I think I have all that as needed the camera and the target an object, the compositing is on, I even ...
6
votes
1answer
3k 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 ...
11
votes
2answers
717 views

Freestyle depth of field

I am using Freestyle on a Cycles scene with some depth of field. The Freestyle doesn't get affected by the depth of field, and so pops out too much on objects that aren't in focus. I am looking for ...
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 ...
2
votes
3answers
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 ...
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 ...
1
vote
0answers
65 views

Trouble with Particle system and forcefields

I have a simple particle system that is using an object (an icosphere subdivided a few times) with an emitter shader(color:red and strength: 15) and the particle system is affected only by a force ...
4
votes
1answer
599 views

Does cycles DOF use more resources?

In blender's internal renderer DOF was highly faked, complex, and used much resources from the computer. Cycles DOF does not seem to need anything more than the usual sample setting (and that applies ...
1
vote
1answer
2k views

How to get depth data using python api

I know how to do this manually but I want to know how to do this with a python script. I was trying to use nodes to connect the z buffer to the output. However, when I save this, the outputs are all ...
2
votes
2answers
2k 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) ...
2
votes
1answer
2k views

How to accurately simulate an anamorphic lens

I am aware of the aperture ratio slider in the camera properties. However, I am wondering if there is a way to actually render squished in Blender, and stretch it out in the compositor later. I ...
4
votes
2answers
8k 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 ...
3
votes
1answer
11k 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'...
0
votes
0answers
78 views

Artifact when DOF is applied to layered render

Notice that the background follows around the skin of the body and cuts through the hair, which is on a separate layer from the body
2
votes
1answer
551 views

Blender 2.76b Depth of Field doesn't work

Blender 2.76b Depth of Field doesn't work. Any idea why?
4
votes
1answer
385 views

Fake DOF in the Compositor

You see, I had a very long render of about 5 hours. And in the end I found out that I totally forgot to add depth of field. So now I am thinking of a way to do that: either outside blender or in ...
8
votes
2answers
880 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.
1
vote
1answer
714 views

Where to find fast DOF shader in BGE?

I'm looking for fast Dof shader for BGE use. Maybe someone knows, where to find very similar to "Life is Strange" one. DOF could be without autofocus feature, I want simple like distance Dof like one. ...
1
vote
2answers
834 views

What is the simplest way of extracting the depth values of the scene?

I am totally new in the 3D-world, But I am really interested in having the depth values of the scene (in the raw floating point numbers format), Unfortunately, I could not find an associated question (...
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 ...
1
vote
1answer
281 views

DoF works only sometimes in blender render

I'm trying to use blender render and the defocus node to shift focus over the course of a scene (by moving the empty around). This works fine. The red bits in this image are out of focus, since the ...
1
vote
0answers
779 views

How to get real Z-buffer value from Blender

This is in follow up to my previous post. I see that i can render the zbuffer into an image from the answer to my previous post. But can I get the real Z values some how using blender? I found this ...
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 ...
28
votes
2answers
8k 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 ...
2
votes
1answer
456 views

Change focus on mist pass for getting DOF in composition [duplicate]

I'm trying to get DOF in Compositing from an OpenEXR image with Combined/Alpha/Mist passes. This is the combined pass: I can get DOF by a defocus node using the Mist pass (after a ColorRamp to define ...
7
votes
1answer
1k views

Blender 2.74 Depth-of-field is okay at 3D-viewport, but not in Render

Blender 2.74 has enabled one to add a depth-of-field effect in the 3D viewport. The problem is, when I hit F12 to render the camera-view, the depth-of-field doesn't show up. Any idea why?
1
vote
0answers
554 views

Blender cycles dof viewport problem

When I set dof in the viewport it looks ok but my rendering just doesn't show it in the same way. Just there is no dof. My scene has multiple layers in compositor. What have I missed? Thanks.
3
votes
1answer
355 views

Match Depth of Field of Background Image

Either using Cycles or Blender Render - Need to match the depth of field on an object to a background image. Basically, I want to have a background image (that has DoF in it by itself), mapped flat on ...
2
votes
1answer
905 views

Composite node/ Viewer node preview not showing

I am trying to get a depth map of my imported model for which I found out this tutorial. So far here is the picture of my work. As you guys can see there is no preview in the backdrop or the nodes of ...
3
votes
1answer
1k views

What causes these artifacts around the edges of objects when using the defocus node?

Continuing on with the same logo reveal. The depth of field in Blender results in this horrible effect around the edge. I've seen this sort of blurring a lot in games, Assassin's Creed is quite famous ...
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 ...
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 ...
6
votes
1answer
488 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 ...
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. ...
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 ...
14
votes
2answers
19k 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 ...
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
2answers
833 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? ...
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 ...
22
votes
3answers
24k 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 ...