Page 9 of 15

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:18 pm
by provisory
Something happened with Warmup and Test Step Samples in the daily build?
The SAMPLECOUNT pass starts to change only after about 70 samples now, even if I set 1 or 5 for both.

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:20 pm
by provisory
FarbigeWelt wrote: Tue Apr 16, 2019 9:38 am What if Sobol acts contrary, I mean adaptive 0.0 in blendluxcore
pushes Sobol to be perfectly adaptive and vice a versa?
This is unlikely because the samplecount pass shows the effect of adaptivity.

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:25 pm
by alpistinho
Yes the parameter has been changed and blendluxcore has not been changed yet.

You could export the scene, change the parameter and render it on luxcoreui. I will try to update the SDL page today

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:28 pm
by B.Y.O.B.
Note: as an end user, I would wait a few days before trying to test this new stuff, it's not in a usable state yet. As alpistinho said, the Blender addon was not updated to use the new properties yet, for example.

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:35 pm
by provisory
alpistinho wrote: Tue Apr 16, 2019 5:25 pm Yes the parameter has been changed and blendluxcore has not been changed yet.
I see, thanks!
If you can, give Random a try just to confirm my findings.
Unfortunately I have a constant lack of time. (Work + family)
Would it help you if I uploaded the scene with the lamp shade hidden?

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:39 pm
by alpistinho
Sure,

Any help is welcome.
But I am almost sure that what is not working is the Sobol sampler, and not the adaptivity

Thanks

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:44 pm
by provisory
B.Y.O.B. wrote: Tue Apr 16, 2019 5:28 pm Note: as an end user, I would wait a few days before trying to test this new stuff, it's not in a usable state yet. As alpistinho said, the Blender addon was not updated to use the new properties yet, for example.
3d is just a hobby for me, and I try to help you as much as I can.

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 5:52 pm
by provisory
Here's the file with Null (Transparent) material set to the lamp shade.

Re: Adaptive sampling improvements

Posted: Tue Apr 16, 2019 10:02 pm
by kintuX
000CPU_sobol-VS-random(256s).jpg
Sampler (left - right): Sobol - VS - Random
Adaptive Strength (top - bottom): 0.00, 0.50, 0.95
Device: CPU
Engine: Path
Halt Condition: Samples: 256

Scene posted here (PhotonGI Cache thread)
If there's anything else i can do... ;)
PS
(i'll may be late, am getting eyes examined & will loose sight for some time, week at most) 8-)

Re: Adaptive sampling improvements

Posted: Wed Apr 17, 2019 12:06 am
by alpistinho
Dade wrote: Wed Mar 06, 2019 11:09 pm There is one aspect of Random/Sobol samplers you could look into: the adaptive aspect. For instance, one part to improve is that they are currently skipping samples instead of just progressing slower on some (already converged) pixel. The current advantage is that there is one single global "pass" instead of a "pass" for each pixel. It saves some ram but it is pretty bad for sampling.
You have wrote that at the time and I understand the rationale that the sobol distribution will only preserve its low discrepancy properties for every pixel if each one has it's own pass variable.

We've implemented this and I as far as I've seen until today, the code looks right.
Each pixel is following correctly it's own variable
Running it single threaded makes no difference

But the sampling points are not looking like Sobol when using the adaptivity
Figure_1.png
And it looks much better when the strength is set to zero
Figure_1-1.png
There's something eluding me here, and it is probably something stupid