Env. Light Visibility Cache

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Env. Light Visibility Cache

Post 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.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Env. Light Visibility Cache

Post 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?
User avatar
Dade
Developer
Developer
Posts: 5675
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Env. Light Visibility Cache

Post 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:).
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Env. Light Visibility Cache

Post by B.Y.O.B. »

Ah, I assumed it was sun + HDRI.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Env. Light Visibility Cache

Post 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.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Env. Light Visibility Cache

Post 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?
User avatar
Dade
Developer
Developer
Posts: 5675
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Env. Light Visibility Cache

Post 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.
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Env. Light Visibility Cache

Post by B.Y.O.B. »

Does the cache replace the old visibility map, or should both still be available in the UI?
User avatar
Dade
Developer
Developer
Posts: 5675
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Env. Light Visibility Cache

Post 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).
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5675
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Env. Light Visibility Cache

Post 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.
Support LuxCoreRender project with salts and bounties
Post Reply