Env. Light Visibility Cache

Discussion related to the LuxCore functionality, implementations and API.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Env. Light Visibility Cache

Post by lacilaci »

and in interior:

old map:
interior_oldvismap_on.jpg
new cache:
interior_cache_on.jpg
some parts good, but others not so much...
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Env. Light Visibility Cache

Post by epilectrolytics »

Works great so far in my initial testing, except for the attached scene which shows a different light distribution with ELVC:
env.jpg
concrete5.blend.zip
(820.93 KiB) Downloaded 132 times
.
I'd like to see this extended to other light types and indirect light as well even when this means CPU only rendering.

I don't understand if this is meant to work in combination with PGI, like two different caches being used?
Because I thought the metropolis sampling of the photon cast will already "find all openings" like BiDir does so that when the indirect cache is used no portal-like solution was necessary?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Env. Light Visibility Cache

Post by Dade »

epilectrolytics wrote: Wed May 29, 2019 2:40 pm I don't understand if this is meant to work in combination with PGI, like two different caches being used?
Yes, PGI accelerates indirect light while this one accelerate direct light.
Support LuxCoreRender project with salts and bounties
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Env. Light Visibility Cache

Post by lacilaci »

Latest daily for me still doesn't work with flatcolor, maybe something has to be changed also on blendluxcore side? Can someone else try it out?

EDIT: it kinda seems it works on linux build...
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Env. Light Visibility Cache

Post by epilectrolytics »

Dade wrote: Wed May 29, 2019 3:15 pm Yes, PGI accelerates indirect light while this one accelerate direct light.
Ah I see, thanks for clarifying!
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Env. Light Visibility Cache

Post by lacilaci »

Can this be made so that it also works in open spaces? Seems no vismap works better than cache or default one. This could lead to issues where we have both exterior and interior parts visible.
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

ELVC animations?

Post by epilectrolytics »

Question regarding animation:
If I was animating an interior with Cycles, I would set up portals and that's it.

But what about LuxCore simple map or ELVC ?
Are they view/camera dependent?
The simple visibility map is apparently built anew for each frame but very quickly.
What about visibility cache, does it change with camera position or when objects are moved?
That would be a disadvantage compared with portals.
If the camera position matters, we'd need a persistent visibility cache too (maybe somehow merged with PGI indirect cache on the same entries).
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Env. Light Visibility Cache

Post by lacilaci »

Don't know if related but recent version of blendluxcore crashes when I try viewport render and have flatcolor as environment (even when standard visibility map is used) Hdri works ok in viewport
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. »

I can reproduce it, will look into it.
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. »

I have fixed the crash.
Post Reply