Light group support for PhotonGI?

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Light group support for PhotonGI?

Post by Sharlybg »

Split from viewtopic.php?f=5&t=308

Is there any technical reason that can prevent Photon GI to work with Light groups ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCoreRender v2.1/2.2 features poll

Post by Dade »

Sharlybg wrote: Tue Mar 31, 2020 12:00 pm Is there any technical reason that can prevent Photon GI to work with Light groups ?
It would require a separate PhotonGI cache for each light group, so the answer is: memory usage.
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: LuxCoreRender v2.1/2.2 features poll

Post by Sharlybg »

It would require a separate PhotonGI cache for each light group, so the answer is: memory usage.
It is a risk i want to take. this feature is mind blowing already and have it speed up will be even great. we can add the feature with a flag like " high memory consumption "

for those of us with 32 to 128 giga of RAM it is limitating.

Anyway i'm going to make the tutorial and hope it can be add in the futur. ;) thanks for answer.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: LuxCoreRender v2.1/2.2 features poll

Post by B.Y.O.B. »

Last time I checked, PhotonGI didn't really use much memory at all (from kilobytes to a few megabytes at most).
Maybe I'm incorrect, but if that's still the case, I doubt light group support would be a problem.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCoreRender v2.1/2.2 features poll

Post by Dade »

Sharlybg wrote: Tue Mar 31, 2020 12:50 pm for those of us with 32 to 128 giga of RAM it is limitating.
It is also GPU ram, not only CPU.
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: LuxCoreRender v2.1/2.2 features poll

Post by Sharlybg »

We can also allow the user to pause the render while be able to save a given light groups mix. Then make another light groups mix and save the new result.
This will be awesome.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: LuxCoreRender v2.1/2.2 features poll

Post by Sharlybg »

Dade wrote: Tue Mar 31, 2020 1:43 pm
Sharlybg wrote: Tue Mar 31, 2020 12:50 pm for those of us with 32 to 128 giga of RAM it is limitating.
It is also GPU ram, not only CPU.
This should be possible even if GPU ram can be limitating. Now even AMD have out of core like feature and GPU will get even more RAM this years. Also CPU is still there to cover the Topic as We get a boost from PGI.


SERIOUSLY LUXCORE IS SAVAGE :shock:

This light groups impress me even if i know it since the old Lux. The Tutorial on this one will be awesome :D
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: LuxCoreRender v2.1/2.2 features poll

Post by B.Y.O.B. »

In the hall bench scene, the VRAM usage is:
- without cache: 1029 MiB
- with cache: 1031 MiB
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

Re: Light group support for PhotonGI?

Post by juangea »

I also think it’s worth it.

But don’t forget about clamping for light groups, they are not so useful without clamping :) (just mentioning it, not trying to get a thread-hijack :) )
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Light group support for PhotonGI?

Post by Dade »

juangea wrote: Thu Apr 02, 2020 9:32 am I also think it’s worth it.

But don’t forget about clamping for light groups, they are not so useful without clamping :) (just mentioning it, not trying to get a thread-hijack :) )
Do you mean a separate clamping parameter for each light group ? It may be very easy to add.
Support LuxCoreRender project with salts and bounties
Post Reply