Re: Direct Light cache: hit rate not good
Posted: Mon Jul 02, 2018 1:51 pm
Maybe will be good to have some explanation of DLCS setting !
Show your work, get help, participate in development
https://forums.luxcorerender.org/
Maybe will be good to have some explanation of DLCS setting !
Yes, like always we have to do the following:
You seem to assume that a sample in the direct light cache is as expensive to compute as a sample in the final render process.it seems you're quite surprised to see that I can use only so few samples (and I'm surprised too considering that the default is quite higher).
I've tested... reset all the lightcache to the default values.B.Y.O.B. wrote: ↑Mon Jul 02, 2018 2:18 pm You seem to assume that a sample in the direct light cache is as expensive to compute as a sample in the final render process.
This is not the case. The situation is similar to the visibility map precomputation, it uses 1,000,000 samples by default and this number is not even exposed in BlendLuxCore because it works so well and the samples are computed so fast (often in under 1 second).
In the few tests I did so far with DLSC it either finished very quickly or it took so long that I cancelled it. I am also a bit at a loss which options to tweak to get faster build times with almost equal cache quality. It is a bit like learning to control a new render engine
Code: Select all
[LuxCore][3.933] Building direct light sampling cache
[LuxCore][3.933] Building direct light sampling cache: building cache entries
[LuxCore][5.933] Direct light sampling cache entries: 375042/10000000 (3%)
[LuxCore][5.933] Direct light sampling cache hits: 1327092/1349141 (98.3657%)
[LuxCore][7.933] Direct light sampling cache entries: 770168/10000000 (7%)
[LuxCore][7.933] Direct light sampling cache hits: 2744101/2770328 (99.0533%)
[LuxCore][9.933] Direct light sampling cache entries: 1167023/10000000 (11%)
[LuxCore][9.933] Direct light sampling cache hits: 4169213/4197850 (99.3178%)
[LuxCore][11.933] Direct light sampling cache entries: 1563408/10000000 (15%)
[LuxCore][11.933] Direct light sampling cache hits: 5592847/5623188 (99.4604%)
[LuxCore][12.720] Direct light sampling cache hit is greater than: 99.5000%
[LuxCore][12.720] Direct light sampling cache total entries: 30933
[LuxCore][12.720] Building direct light sampling cache: filling cache entries
[LuxCore][14.943] Direct light sampling cache filled entries: 66/30933 (0%)
[LuxCore][17.229] Direct light sampling cache filled entries: 146/30933 (0%)
[LuxCore][19.356] Direct light sampling cache filled entries: 214/30933 (0%)
[LuxCore][21.383] Direct light sampling cache filled entries: 283/30933 (0%)
[LuxCore][23.471] Direct light sampling cache filled entries: 346/30933 (1%)
[LuxCore][25.863] Direct light sampling cache filled entries: 427/30933 (1%)
[LuxCore][27.871] Direct light sampling cache filled entries: 494/30933 (1%)
[LuxCore][30.215] Direct light sampling cache filled entries: 569/30933 (1%)
[LuxCore][32.402] Direct light sampling cache filled entries: 637/30933 (2%)
[LuxCore][34.405] Direct light sampling cache filled entries: 704/30933 (2%)
[LuxCore][36.540] Direct light sampling cache filled entries: 769/30933 (2%)
[LuxCore][38.813] Direct light sampling cache filled entries: 843/30933 (2%)
[LuxCore][40.834] Direct light sampling cache filled entries: 902/30933 (2%)
[LuxCore][43.076] Direct light sampling cache filled entries: 974/30933 (3%)
[LuxCore][45.240] Direct light sampling cache filled entries: 1039/30933 (3%)
[LuxCore][47.646] Direct light sampling cache filled entries: 1114/30933 (3%)
[LuxCore][49.655] Direct light sampling cache filled entries: 1177/30933 (3%)
[LuxCore][52.056] Direct light sampling cache filled entries: 1251/30933 (4%)
[LuxCore][54.271] Direct light sampling cache filled entries: 1315/30933 (4%)
[LuxCore][56.731] Direct light sampling cache filled entries: 1397/30933 (4%)
[LuxCore][59.192] Direct light sampling cache filled entries: 1475/30933 (4%)
[LuxCore][61.308] Direct light sampling cache filled entries: 1542/30933 (4%)
[LuxCore][63.539] Direct light sampling cache filled entries: 1622/30933 (5%)
Thanks for pointing out the main problem.