Page 6 of 31

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 8:49 am
by Fox
lacilaci wrote: Tue May 28, 2019 7:32 am I also wonder, why is the sunlit area noisy? Shouldn't that part be like instant clean?
I guess, it's how simple path is, it may be visible for bidir.
Still the cache does good job and with MLT and PhotonGI even better.

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 8:54 am
by B.Y.O.B.
lacilaci wrote: Tue May 28, 2019 7:32 am I also wonder, why is the sunlit area noisy? Shouldn't that part be like instant clean?
Might be caused by the lightstrategy - my guess is that with "Power" or "DLSC" it would be clean much faster?

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 9:09 am
by Dade
B.Y.O.B. wrote: Tue May 28, 2019 8:54 am
lacilaci wrote: Tue May 28, 2019 7:32 am I also wonder, why is the sunlit area noisy? Shouldn't that part be like instant clean?
Might be caused by the lightstrategy - my guess is that with "Power" or "DLSC" it would be clean much faster?
It is more related to this HDR and resolution of the visibility map: the HDR has a single pixel with a HUGE value (i.e. the sun) and having a map resolution high enough to aim the single pixel is not trivial. Using sun+infinite light (i.e. "extracting" the sun pixel from HDR) would produce an instant noise free rendering (this process could be done even automatically :idea:).

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 9:45 am
by B.Y.O.B.
Ah, I assumed it was sun + HDRI.

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 10:00 am
by lacilaci
B.Y.O.B. wrote: Tue May 28, 2019 9:45 am Ah, I assumed it was sun + HDRI.
Me too, or sky+sun. Kinda didn't even think that this is hdri only.

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 10:01 am
by lacilaci
So does this mean that the artifacting around sunlight is cause envlightmap cache being built from limited resolution? Would I avoid these artifacts by using sun&sky or constant color + sun?

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 10:32 am
by Dade
lacilaci wrote: Tue May 28, 2019 10:01 am So does this mean that the artifacting around sunlight is cause envlightmap cache being built from limited resolution? Would I avoid these artifacts by using sun&sky or constant color + sun?
Yup.

If Simon add the enable flag to Blender, you can try it.

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 10:43 am
by B.Y.O.B.
Does the cache replace the old visibility map, or should both still be available in the UI?

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 10:52 am
by Dade
B.Y.O.B. wrote: Tue May 28, 2019 10:43 am Does the cache replace the old visibility map, or should both still be available in the UI?
It doesn't, it is an additional option (the pre-processing require far more time and memory than the old visibility map, so the old could be still useful).

Re: Env. Light Visibility Cache

Posted: Tue May 28, 2019 10:53 am
by Dade
To give you an idea, this is the same scene with sky only light source, normal:

normal.jpg

with the new cache:

cache.jpg

It is really like night and day.