Direct Light Sampling Cache (aka Light cache part I)

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

Re: Direct Light Sampling Cache (aka Light cache part I)

Post by Dade » Wed Jun 20, 2018 6:51 pm

Asticles wrote:
Wed Jun 20, 2018 3:36 pm
So, with scenes with only an hdr will not be benefit?
Yes, it is a single light source so something intended to accelerated many light sources renderings is useless. "Many" can be a quite small value as shown in my second test with a single cube but one single light source is really too small.
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 1146
Joined: Mon Dec 04, 2017 8:36 pm

Re: Direct Light Sampling Cache (aka Light cache part I)

Post by Dade » Tue Jun 26, 2018 7:56 am

I added the support for cache entries on volumes:

media_RGB_TONEMAPPED.jpg

I added also an option to to enable/disable cache entries on volumes because it can easily lead to a LOT of entries:

media_RGB_TONEMAPPED2.jpg
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 1146
Joined: Mon Dec 04, 2017 8:36 pm

Re: Direct Light Sampling Cache (aka Light cache part I)

Post by Dade » Thu Jun 28, 2018 8:58 am

I updated the first post in this thread with the properties used by DLSC.

Once BlendLuxCore supports is done, we can release an alpha to start testing this feature (OpenCL support will follow once the testing is done).
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Supporting Users
Posts: 578
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Direct Light Sampling Cache (aka Light cache part I)

Post by Sharlybg » Thu Jun 28, 2018 4:18 pm

Dade wrote:
Thu Jun 28, 2018 8:58 am
I updated the first post in this thread with the properties used by DLSC.

Once BlendLuxCore supports is done, we can release an alpha to start testing this feature (OpenCL support will follow once the testing is done).
NICE we are ready :D
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1211
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Direct Light Sampling Cache (aka Light cache part I)

Post by B.Y.O.B. » Thu Jun 28, 2018 4:25 pm

I find it a bit weird that the targetCacheHitRatio is expressed as a percentage in range 0..100, while all the others are in range 0..1 :?:

Code: Select all

lightstrategy.targetcachehitratio = 99.5
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 1146
Joined: Mon Dec 04, 2017 8:36 pm

Re: Direct Light Sampling Cache (aka Light cache part I)

Post by Dade » Fri Jun 29, 2018 7:59 am

B.Y.O.B. wrote:
Thu Jun 28, 2018 4:25 pm
I find it a bit weird that the targetCacheHitRatio is expressed as a percentage in range 0..100, while all the others are in range 0..1 :?:

Code: Select all

lightstrategy.targetcachehitratio = 99.5
Ok, lightstrategy.targetcachehitratio is now between [0, 1] like other parameters.
Support LuxCoreRender project with salts and bounties

Post Reply