Page 1 of 3

Trouble with glass reflections

Posted: Wed Sep 16, 2020 9:31 pm
by Asticles
Hi all,

I'm having some trouble with glass reflections, after more than 7000 samples, I'm getting few samples on a glass reflection, compared with the rest of the space. What also makes the denoiser fails in that area. (Glass of the left side of the attached image).
7299samples.jpg
Have tried with metropolis and sobol, and I'm rendering on cpu.

Any hint what could be the solution?

Thanks.

Re: Trouble with glass reflections

Posted: Wed Sep 16, 2020 10:24 pm
by zeealpal
Nota solution to the noise, but have you tried using OIDN via the compositor instead? I can't find it at the moment, but I remember a video that denoised the passes individually and combined them, and it did work better for something I rendered.

Re: Trouble with glass reflections

Posted: Wed Sep 16, 2020 10:25 pm
by Dade
Are all light sources outside the box enclosed by the glass ?

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 7:11 am
by Asticles
Thanks for the response,

Dade:
yes, all lights are outside the glass.

Zeealpal:
I will try, but still there is much less sampling in the glass reflection.

Regards.

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 8:56 am
by Sharlybg
Your scene is a nice challenge. Rendered on CPU high resolution with some reflective and specular surface plus small artificial light in an enclosed space.

This is my result on a old i7 4930k. without denoiser in 5mn :


Raw
Bath test.jpg
Denoised Edit 15mn
Bath test denoise.jpg

Settings

Clamping = 20

Light tracing = on

PGI = brute force radius scale (1) Photon count (2)
Caustic cahe = Default
DLSC = default

Meshlight with simple plane (no circle) importance set to 20.

Glass shadow color = 75% white

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 9:17 am
by Asticles
Nice!

Try to remove the lights from inside the shower and change the outer ones with ies lights, not mesh. Maybe this is the problem.

Edit, when using PhotonGicache, the difference is much more noticeable.

Regards

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 9:44 am
by Asticles
hmm, raising the importance of the ceiling lights seems to have solved a lot the situation. Still making tests.

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 11:21 am
by Dade
Asticles wrote: Thu Sep 17, 2020 9:17 am Try to remove the lights from inside the shower and change the outer ones with ies lights, not mesh. Maybe this is the problem.
Yes, all the surfaces inside the box closed by the glass are SDS paths. There two options:

- use PhotonGI caustic cache with periodic updates and have long rendering times;

- or use Hybrid glass (aka set glass shadow transparency so light can go directly trough it) and have very fast rendering at the cost of less realism.

Or have a mix of both like suggested by Sharlybg.

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 11:43 am
by Asticles
Actually, it is hybrid glass.

Can you explain me that Photongi settings?
Periodic updates are enabled by default.

Thanks

Re: Trouble with glass reflections

Posted: Thu Sep 17, 2020 11:48 am
by Asticles
Wow, samples/sec dropped A LOT.