epilectrolytics wrote: ↑Sat Jan 26, 2019 8:44 am
Don't know if it is a clamping issue, but for the caustic cache clamp value = 1 is required and in my test scene caustics are muted and the light balance is very different when compared with a bidir metro render.
There were few factors:
1) a PhotonGI bug causing fireflies (fixed);
2) another PhotonGI bug causing not correct (darker caustics) results for no-matte materials (fixed);
3) the very small radius used in the scene;
4) extreme clamping value;
5) I have also increased the number of photons used for computing the result (path.photongi.lookup.maxcount) in order to improve caustic look;
I have separated visibility, direct, indirect and caustic cache lookup parameters because, most of the times you want to use a smaller lookup radius for caustic than for indirect.
To recap, 99% of the scenes you want to use indirect only cache. The other 1% is caustics rendering. For
Dade wrote: ↑Mon Jan 28, 2019 2:11 pm
Next step, try to use Kd-tree over BVH, it may be faster. After this we may be ready for an alpha0 release (aka open the hell's gate !).
Don't be afraid you already win the Race Dade
Support LuxCoreRender project with salts and bounties
Dade wrote: ↑Mon Jan 28, 2019 10:09 amThere were few factors:
1) a PhotonGI bug causing fireflies (fixed);
2) another PhotonGI bug causing not correct (darker caustics) results for no-matte materials (fixed);
3) the very small radius used in the scene;
4) extreme clamping value;
5) I have also increased the number of photons used for computing the result (path.photongi.lookup.maxcount) in order to improve caustic look
Caustics look way better now, great progress, thanks Dade!
Finding the right lookup radius is very tricky: too small misses photons (dark spots appear) and too high causes a memory bottleneck and the render slows down dramatically. I guess this will become easier with OCL on GPU with faster RAM.
When the photon prepass is rendered in Blendluxcore hopefully getting at the right photon count becomes easier.
Now when I change the lamp to sun+sky (no clamping) in my file the fireflies are back:
Dade wrote: ↑Mon Jan 28, 2019 2:11 pm
Next step, try to use Kd-tree over BVH, it may be faster. After this we may be ready for an alpha0 release (aka open the hell's gate !).
I feel like just this PhotonGI feature would be enough for a final 2.2 release, no other additions needed.
Support LuxCoreRender project with salts and bounties
Dade wrote: ↑Mon Jan 28, 2019 2:11 pm
Next step, try to use Kd-tree over BVH, it may be faster. After this we may be ready for an alpha0 release (aka open the hell's gate !).
I feel like just this PhotonGI feature would be enough for a final 2.2 release, no other additions needed.
I have still to add PhotonGI support for AOVs, light groups, volumes, transparent materials and OpenCL. It is still a lot of stuff but, yes, I think v2.2 will be pretty much all about PhotonGI.
Support LuxCoreRender project with salts and bounties