Quasirandom sampler
- alpistinho
- Developer
- Posts: 198
- Joined: Thu Jul 05, 2018 11:38 pm
- Location: Rio de Janeiro
Re: Quasirandom sampler
Things are looking better, but there are plenty of visible patterns indeed for now.
- alpistinho
- Developer
- Posts: 198
- Joined: Thu Jul 05, 2018 11:38 pm
- Location: Rio de Janeiro
Re: Quasirandom sampler
I think it is converging to the right solution now. It also helps when you don't calculate the same constant every time =p
Re: Quasirandom sampler
Now you have to establish if it is of any usealpistinho wrote: ↑Wed Mar 06, 2019 11:55 am I think it is converging to the right solution now. It also helps when you don't calculate the same constant every time =p
Does it converge faster than Sobol sampler (i.e. less noise in the same amount of samples) ?
P.S. people will endless complain about patterns at the start but it may be still of some use if it is noticeably better than Sobol.
Re: Quasirandom sampler
Is there a build to test this out?
PS: patterns only matter if it throws off denoiser (this could damage preview quality)
PS: patterns only matter if it throws off denoiser (this could damage preview quality)
Last edited by lacilaci on Wed Mar 06, 2019 12:03 pm, edited 1 time in total.
- alpistinho
- Developer
- Posts: 198
- Joined: Thu Jul 05, 2018 11:38 pm
- Location: Rio de Janeiro
Re: Quasirandom sampler
I still think there are some other stupid mistakes on the code, just not as severe.Dade wrote: ↑Wed Mar 06, 2019 12:01 pm Now you have to establish if it is of any use
Does it converge faster than Sobol sampler (i.e. less noise in the same amount of samples) ?
P.S. people will endless complain about patterns at the start but it may be still of some use if it is noticeably better than Sobol.
I will try to do some comparisons to see if it is any better, but at least the samples/second metric is bit higher.
- alpistinho
- Developer
- Posts: 198
- Joined: Thu Jul 05, 2018 11:38 pm
- Location: Rio de Janeiro
Re: Quasirandom sampler
I can send you my build files if you really want, but I don't know if it is of any use
Re: Quasirandom sampler
Actually now that I think about it, I would need to have the sampler exposed in blender to properly test that.alpistinho wrote: ↑Wed Mar 06, 2019 12:13 pmI can send you my build files if you really want, but I don't know if it is of any use
Re: Quasirandom sampler
You just have to edit this line in export/config.py: https://github.com/LuxCoreRender/BlendL ... fig.py#L40
Instead of the variable sampler, pass the string directly.
Alpistinho has called the new sampler "R2": https://github.com/LuxCoreRender/LuxCor ... 0fa71R1342
So you write:
Code: Select all
definitions.update({
"renderengine.type": luxcore_engine,
"sampler.type": "R2",
"film.width": width,
"film.height": height,
# ...
Re: Quasirandom sampler
Great, so if there is a build I'm willing to give it a go.
- alpistinho
- Developer
- Posts: 198
- Joined: Thu Jul 05, 2018 11:38 pm
- Location: Rio de Janeiro
Re: Quasirandom sampler
The pyluxcore.pyd file is not being built by default on my environment it seems. I will have a look at this when the sampler is working a little bit better.
Right now I believe all threads are producing the same sequence, so there is pretty low-hanging fruit to improve
Right now I believe all threads are producing the same sequence, so there is pretty low-hanging fruit to improve