Reworked Direct Light Sampling Cache (aka DLSC)

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Reworked Direct Light Sampling Cache (aka DLSC)

Post by Dade »

I have reworked the Direct Light Sampling Cache (DLSC), based on the experience developed with other caches, it should be now faster, artifacts free and fully unbiased.

This is a 64 samples/pixel rendering without DLSC:

without.jpg

and this with:

with.jpg

Like some other cache, it can show different noise patterns at the very beginning of the rendering. This is a 8 samples/pixel rendering with DLSC:

8spp.jpg

and this at 128 samples/pixel:

128spp.jpg

As you can see, the not uniform noise disappear with more samples (i.e. it is unbiased). If you have some really huge noise difference at the start, it is a signal the cache entries are quite inaccurate, just increase the warm up samples to solve the problem. Note, the Blender default warm up value may be too low at the moment, 24-32 should be the bare minimum.

For Reference this is a 8 samples/pixel rendering without DLSC:

8spp-normal.jpg

The improvement is really huge.
Support LuxCoreRender project with salts and bounties
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by Racleborg »

Wow! The difference is really impressive. Thank you :D
happyboy
Posts: 63
Joined: Sat Jun 22, 2019 5:39 am

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by happyboy »

Wow! Waiting for the new build to test 8-)
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by marcatore »

oh- oh-oh... is it already available? :)

I'd like to see a comparison with the previous DLSC... have you something to show in this way?

In any case it seems really a great improvement.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by Sharlybg »

Thanks you and good job !

How about the cache pre-computing time ? and also how much setting user need to tweak compared to older cache ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by Dade »

marcatore wrote: Thu Aug 22, 2019 9:37 am oh- oh-oh... is it already available? :)
The binaries should be available in a couple of hours.
marcatore wrote: Thu Aug 22, 2019 9:37 am I'd like to see a comparison with the previous DLSC... have you something to show in this way?
The main problem of the original DLSC was more about artifacts and consistency in providing good results than delivering a really good result (once in a while). The new version may produced renderings with a bit more noise of the original DLSC (especially in some test case) but the rework focus was on fixing artifacts and consistency (more then further reducing noise).
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by Dade »

Sharlybg wrote: Thu Aug 22, 2019 10:46 am How about the cache pre-computing time ?
It should be faster than the original DLSC because several steps have been removed but the main job of establishing how a much a point is in shadow, it is still there (and it is still an expansive task).

I'm also going to add a persistent fill option for this cache too (... if I haven't already added ... I don't remember).
Sharlybg wrote: Thu Aug 22, 2019 10:46 am and also how much setting user need to tweak compared to older cache ?
Like other caches, it should work without parameters tweaking.
Support LuxCoreRender project with salts and bounties
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by Asticles »

Amazing! Is this available in the nightly builds?
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by lacilaci »

Asticles wrote: Thu Aug 22, 2019 12:31 pm Amazing! Is this available in the nightly builds?
you can watch it cooking here:
https://dev.azure.com/LuxCoreRender/Lux ... uildId=661

but keep in mind that even when it says it's all done, uploading to dailies might take a while longer...
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: Reworked Direct Light Sampling Cache (aka DLSC)

Post by marcatore »

Available!
Post Reply