Questions tagged [depth-of-field]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Depth of Field algorithm implementation issue

I am trying to implement the paper: Real-Time Depth-of-Field Rendering Using Anisotropically Filtered Mipmap Interpolation from Sungkil Lee, Gerard Jounghyun Kim and Seungmoon Choi. Everything works ...
Thomas's user avatar
  • 1,265
1 vote
0 answers

Blur calculation in shader with fixed CoC

I have just started learning how to use and create shaders in ThreeJS and, while going through some shaders in the example folder, I have come across a bokeh shader. Inside the shader, blur is ...
Francesco Maltagliati's user avatar
2 votes
2 answers

Why are reflections in a spherical surface sharp, regardless of depth of field?

A question has come up recently in Blender SE, remarking on the absence of blur due to depth of field in reflections in a spherical surface. This is a real-life effect.. can anyone come up with a nice ...
Robin Betts's user avatar
4 votes
1 answer

Deriving blur from real optical formulae

Looking at the Wikipedia page for Circle of Confusion, and at such posts as this one, I completely understand how to calculate the values for near, far, focal planes and hyperfocal distance. I am also ...
SgerbwdGwyn's user avatar
6 votes
2 answers

Bokeh from depth map

How do I generate bokeh that simulates shallow depth of field given a perfect depth map? Here's what I tried: Generated a sample scene using blender and corresponding depth map Using Python, ...
Saravanabalagi Ramachandran's user avatar
6 votes
1 answer

Depth of Field in Path Tracing: What do I do with the secondary ray?

How can I implement Depth of Field in my Path Tracer? I have read this article which explains the theory behind everything & I already have a good understanding of what this effect needs to ...
Arjan Singh's user avatar
  • 2,511
10 votes
2 answers

Is depth of field incongruous in a 3D still image?

If rendering an image in 2D, adding depth of field effects (blurring objects further from the focal distance) adds realism and draws the eye to the object of the image. With a 3D (i.e. stereo) image, ...
trichoplax is on Codidact now's user avatar
12 votes
1 answer

How is Depth of Field Implemented?

I know that depth of field involves blurring. There's some great information about how to do a Gaussian blur in the question How is Gaussian Blur Implemented? But, other than that, how is depth of ...
Alan Wolfe's user avatar
  • 7,801