Problem with Focus and lens blur

so I have couple of glasses next to each other and they’re making some weird stuff happening. as you see I’m rendering in front of a display, and there are several layers of glass here. and when I turn Focus on, it cannot do it right and gives objects a big stroke of some sort.

by reducing reflection it will look like this, which is better, but I lose a lot of detail on the arc:

but there are still some weird artifacts.

focus on glass is weird in general, like in this picture, as you see the reflection on glass does not have the blur and it’s very weird. but thankfully unlike former picture, I can fix this using Z-depth and photoshop.

and also I don’t know if the focus is causing this, but why the potted flower has no reflection the glass beneath it in this picture? it’s so weird looking this way. I did add it using photoshop and it made it better, but would be nice if this get fix as well.

Hi @DynamicRenderLabs,

where did you set the focus? on the glass?
If you can provide a video for this issue, that will be really helpful for us to track.

1 Like

yes, I did put it on the Glass.
the thing is, D5 focus option needs reworking, I don’t know exactly how it works, but from what I see, if it ignores glasses, most of problems would be fixed. like AO map. when I worked with Vray before, it had problem with AO map, since it ignored what was behind a glass, but D5 doesn’t do this, D5 ignores the glass instead, that’s why when you ignore the glass, the result would be better. I actually did this, and took two renders, one with glass and one without the glass, az Z-depth and used photoshop to make this:

I have tried Z-depth lens blur a lot and I’m pretty sure it’s better than the app’s Focus. I think the process of calculating focus in D5 needs to be updated to achieve higher quality, without the need of 3rd party apps.

Thanks for your update. Putting the focus on or in front of the glass will result in an abnormal display of the depth of field behind the glass, this is a known issue for our team for now, which is related to the reflective principle of glass, and we’ll fix it in a subsequent release. Your current alternative solution is great, you’re so brilliant! :smiley:

1 Like

thank you :sweat_smile:

1 Like