Yup.epilectrolytics wrote: ↑Sun Feb 10, 2019 3:41 pmSounds great!
Does that mean you can automate both photon count and cache size (progressively shooting photons until cache is completed)?
PhotonGI cache
Re: PhotonGI cache
Re: PhotonGI cache
I made the behavior of PhotonGI more consistent about fireflies generated by glossy-nearly-specular materials. The fireflies "border" is gone and they are more uniformly spread around the scene now. It is a progress because they can now be handled as usual with variance clamping. This is the previous test with the new code and variance clamping:
Re: PhotonGI cache
Yes, however caustic cache is directly seen so it is a LOT more sensitive to problems than indirect one. With the last fix (see my previous post), it may be not necessary (or a good idea).lacilaci wrote: ↑Sun Feb 10, 2019 5:08 pmIn other words, caustic cache will also handle reflective caustics... right?Dade wrote: ↑Sun Feb 10, 2019 12:43 pm
At the moment, caustic cache is used only for pure specular surfaces. I'm thinking to use the caustic cache also for glossy "nearly-specular" surfaces. Something I can do thanks to the new concept of "glossiness". This should solve the problem and also add a lot of quality to the rendering (it is the kind of fireflies path tracers just cut with variance clamping, etc.)
Re: PhotonGI cache
2.2 alpha 0 predicted to be the most tested ! As i told you , you win the race before the start . The door of hell are now wet.
Re: PhotonGI cache
Ok, trying out latest fixes etc..
There is now a bit more noise (I guess that's the redistributed noise/fireflies) It's not a big deal as denoiser and clamping can handle them.
However, if scene contains lot of "shiny" surfaces it kinda kills caching a lot.
Here is what cache looks like when I have glossy floor and ceiling boards present (from my office project) and here's without floor and ceiling boards. This scene has almost zero benefit from caching, not sure if anything can be done about this (glossy surfaces)
There is now a bit more noise (I guess that's the redistributed noise/fireflies) It's not a big deal as denoiser and clamping can handle them.
However, if scene contains lot of "shiny" surfaces it kinda kills caching a lot.
Here is what cache looks like when I have glossy floor and ceiling boards present (from my office project) and here's without floor and ceiling boards. This scene has almost zero benefit from caching, not sure if anything can be done about this (glossy surfaces)
Re: PhotonGI cache
What is that ? cache isn't working on glossy shader ?
strange. How Dade manage to get boost on the Bench scene ?
strange. How Dade manage to get boost on the Bench scene ?
Re: PhotonGI cache
Maybe my materials are too glossy and it switches to brute force or I don't know.
Dade I can send you the scene in either .blend or exported from blender for luxcore. If you want to take a look
Re: PhotonGI cache
in one of my test scene, caching is slowing the rendering, both "samples/sec" and "sample rate" are lower with caching.
what should I do as settings to have benefit from caching?
The scene is this (this rendering is just for reference, actually I've disabled all the particles systems used for the floor)
Dade, if you want to test it you should already have it.
what should I do as settings to have benefit from caching?
The scene is this (this rendering is just for reference, actually I've disabled all the particles systems used for the floor)
Dade, if you want to test it you should already have it.
Re: PhotonGI cache
I think I found the issue, it seems glossy coating material will not use cache!lacilaci wrote: ↑Mon Feb 11, 2019 8:50 am Ok, trying out latest fixes etc..
There is now a bit more noise (I guess that's the redistributed noise/fireflies) It's not a big deal as denoiser and clamping can handle them.
However, if scene contains lot of "shiny" surfaces it kinda kills caching a lot.
Here is what cache looks like when I have glossy floor and ceiling boards present (from my office project)
indirect_boards.jpg
and here's without floor and ceiling boards.
indirect_noboards.jpg
This scene has almost zero benefit from caching, not sure if anything can be done about this (glossy surfaces)
render_boards.jpg
And I used it in almost every wood material
Re: PhotonGI cache
You can adjust the "path.photongi.indirect.glossinessusagethreshold" parameter to decide what glossy is considered "nearly-specular" and has cache disabled. I assume the parameter is not yet exposed in Blender so you can adjust the floor and ceiling UV roughness over the default threshold (0.2) if you want to do a test.
You can also export the scene in text format and add the following line to render.cfg file:
Code: Select all
# Replace 0.1 with whatever value is smaller than your floor/ceiling glossy UV roughness
path.photongi.indirect.glossinessusagethreshold = 0.1