Low discrepancy triangle light sampling

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
alpistinho
Developer
Developer
Posts: 198
Joined: Thu Jul 05, 2018 11:38 pm
Location: Rio de Janeiro

Low discrepancy triangle light sampling

Post by alpistinho »

I have implemented a new technique for sampling triangles that should provide better results on them.

This is based (copied) in https://pharr.org/matt/blog/2019/02/27/ ... ing-1.html

The improvement should be most visible in scenes dominated by direct light.

Please give it a spin and keep a close eye for any issues ;)

At 4 samples/pixel:

before:
RGB_IMAGEPIPELINE_16spp_current_2.png
after:
RGB_IMAGEPIPELINE_16spp_new_2.png
At 16 samples/pixel:

before:
RGB_IMAGEPIPELINE_16spp_current_3.png
after:
RGB_IMAGEPIPELINE_16spp_new_3.png
Support LuxCoreRender project with salts and bounties
happyboy
Posts: 63
Joined: Sat Jun 22, 2019 5:39 am

Re: Low discrepancy triangle light sampling

Post by happyboy »

alpistinho wrote: Wed Oct 09, 2019 2:10 pm Please give it a spin and keep a close eye for any issues ;)
The improvement is obvious! Thanks!
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Low discrepancy triangle light sampling

Post by Sharlybg »

This is going to make product viz a lot faster. Thanks.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Low discrepancy triangle light sampling

Post by epilectrolytics »

Thanks for this very welcome improvement!
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Low discrepancy triangle light sampling

Post by Sharlybg »

It is activated by default or something special is needed in blendluxcore for that one ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
alpistinho
Developer
Developer
Posts: 198
Joined: Thu Jul 05, 2018 11:38 pm
Location: Rio de Janeiro

Re: Low discrepancy triangle light sampling

Post by alpistinho »

Sharlybg wrote: Fri Oct 11, 2019 7:05 pm It is activated by default or something special is needed in blendluxcore for that one ?
It replaces the old code, so nothing is needed.

I don't think the difference is that big outside a few specific cases, so you might not be able to promptly see the difference.
Support LuxCoreRender project with salts and bounties
Post Reply