Page 4 of 23

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 10:15 am
by Dade
I should have fixed the visibility of infinite lights (and in general of light sources hit by eye paths).

Important note: because Hybrid Back/Forward path tracing has still a strong path tracing component, it is often useful to disable the light visibility in specular paths to avoid many fireflies. This fact is was hidden by the bug I have fixed.

With visibility in specular paths on:

on.jpg

Visibility in specular paths off:

off.jpg

Alternatively, you can use variance clamping and/or Oidn but it is a lot faster and simpler to just disable the flag.

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 10:24 am
by Dade
epilectrolytics wrote: Sun Jun 23, 2019 7:03 pm While it works already great out of the box with the Wallpaper scene, in my pooltest scene everything is black apart from the tiles.
Looks like infinite lights are not supported yet
I should have fixed this problem (see above).
epilectrolytics wrote: Sun Jun 23, 2019 7:03 pm unlike BiDir no caustics are rendered in the water.
Like BiDir, no caustics are rendered in the water ... are you getting under water caustics out of BiDir ? Under water caustics are the very same definition of SDS paths.

I assume you were talking of PGI caustic cache, not BiDir.

P.S. the next step is hybrid GPU path tracing with CPU BiDirVM ... remember my axe :mrgreen:

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 10:38 am
by provisory
Dade wrote: Sun Jun 23, 2019 5:34 pm In your rendering I see a bug I need to fix: "ES*L" paths (eye => any number of only specular bounces => light are not rendered at the moment in Hybrid Back/Forward).
Have you managed to fix this too?

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 10:57 am
by Dade
provisory wrote: Mon Jun 24, 2019 10:38 am
Dade wrote: Sun Jun 23, 2019 5:34 pm In your rendering I see a bug I need to fix: "ES*L" paths (eye => any number of only specular bounces => light are not rendered at the moment in Hybrid Back/Forward).
Have you managed to fix this too?
Yes, the fix is part of my last "infinite lights" fix.

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 11:01 am
by Sharlybg
P.S. the next step is hybrid GPU path tracing with CPU BiDirVM ... remember my axe :mrgreen:
Do you mean BIDIRVM caustics quality while rendering on GPU ?

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 11:04 am
by lacilaci
Dade wrote: Mon Jun 24, 2019 10:24 am
P.S. the next step is hybrid GPU path tracing with CPU BiDirVM ... remember my axe :mrgreen:
That bidirVM will actually render SDS right? So at that moment the caustic cache will no longer be needed.

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 11:15 am
by B.Y.O.B.
It looks to me like some reflections are missing when using hybrid back/forward, when compared to Bidir.
The images below were rendered for equal time (60 s), both on CPU only.
The scene is lit by one area light with default ray visibility (all enabled).
I am using the latest commit here (https://github.com/LuxCoreRender/LuxCor ... 5e79d366d5)

If you want I can upload the scene.

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 12:32 pm
by Dade
lacilaci wrote: Mon Jun 24, 2019 11:04 am
Dade wrote: Mon Jun 24, 2019 10:24 am P.S. the next step is hybrid GPU path tracing with CPU BiDirVM ... remember my axe :mrgreen:
That bidirVM will actually render SDS right? So at that moment the caustic cache will no longer be needed.
Caustic cache could be modified to render only SDS paths so Hybrid+caustic cache produce the complete solution.

This is actually a pretty good idea I'm going to try.

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 12:32 pm
by Dade
B.Y.O.B. wrote: Mon Jun 24, 2019 11:15 am If you want I can upload the scene.
Yes, thanks.

Side node: Hybrid uses always Metropolis sampler for light paths (it is just always better, doesn't make sense to use anything else) so it is better to use Sobol with GPUs (it will be used for the eye paths).

Re: Hybrid Back/Forward path tracing (aka BiDir without MIS)

Posted: Mon Jun 24, 2019 12:47 pm
by B.Y.O.B.
B.Y.O.B. wrote: Mon Jun 24, 2019 11:15 am If you want I can upload the scene.
Here it is (220 MB): https://drive.google.com/open?id=1vS5v1 ... HYGO6DegDX