Question related to DOF

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
luxfuchs
Posts: 1
Joined: Wed Jul 24, 2019 8:51 am

Question related to DOF

Post by luxfuchs »

Hello all,

I am currently simulating a water drop on a surface.
To get an accurate result, I tried to use the built-in DOF with realistic camera values.
To my surprise, activating the DOF showed me reflections of lights that did not show up before.
From my understanding this should not be possible since DOF is only a camera effect and should not change the path of the light, thus should not show reflections that were not there before.

I used Bidir + Metropolis.

I am wondering if my physical understanding is wrong here or what is going on, any input is welcomed.
Thanks,
luxfuchs
Last edited by luxfuchs on Wed Jul 24, 2019 11:25 am, edited 4 times in total.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Question related to DOF

Post by Dade »

luxfuchs wrote: Wed Jul 24, 2019 9:14 am From my understanding this should not be possible since DOF is only a camera effect and should not change the path of the light, thus should not show reflections that were not there before.
This is not really correct: many materials have view dependent properties and DOF affects eye rays. So a change in incoming ray directions (i.e. eye rays) will affect the the material outgoing ray directions and how/where they hit the light sources.

For instance, you statement is true for matte but not for glass or mirror material.
Support LuxCoreRender project with salts and bounties
Post Reply