Page 1 of 2

Working with light groups

Posted: Mon Apr 09, 2018 9:20 pm
by lighting_freak
Hello,

just realized that lux core renders all light groups that are available within a setup even when they were swithed off before starting the render.
Basically I like the idea that light groups could be switched on and off while rendering them, but on the other hand I'd like to permanently exclude some light groups from single renders.

Is there any suggested workflow to stop some light groups from being renderd. Ideally without touching the source or material definitions.
Thank you.

BR

Re: Working with light groups

Posted: Mon Apr 09, 2018 9:35 pm
by B.Y.O.B.
I also find this annoying and it is on my todo list but I didn't find the time to address it so far.
So no, currently there is no way (however maybe you can do it with Blender trickery, light groups are a scene property so if you create a second scene and link in all your objects, you should be able to define different/no lightgroups, but I did not test that so far).

Re: Working with light groups

Posted: Mon Apr 09, 2018 9:38 pm
by Dade
lighting_freak wrote: Mon Apr 09, 2018 9:20 pm just realized that lux core renders all light groups that are available within a setup even when they were swithed off before starting the render.
Basically I like the idea that light groups could be switched on and off while rendering them, but on the other hand I'd like to permanently exclude some light groups from single renders.

Is there any suggested workflow to stop some light groups from being renderd. Ideally without touching the source or material definitions.
It may be somewhat related is this iusse: https://github.com/LuxCoreRender/BlendL ... issues/101

But probably the simpler solution is to just keep light groups on different Blender layers and turn them on/off :idea: :?:

Re: Working with light groups

Posted: Mon Apr 09, 2018 9:44 pm
by B.Y.O.B.
Dade wrote: Mon Apr 09, 2018 9:38 pm But probably the simpler solution is to just keep light groups on different Blender layers and turn them on/off
They are a scene property.
Currently, if you define 4 custom light groups and assign no lights to them, you get the default light group plus 4 black images.
Obviously we need some kind of cache during export that checks if a lightgroup is not used by any light and skips the definition of the LuxCore outputs for this lightgroup in that case.
And a manual switch to disable a light group would be good as well (e.g. if you run into RAM issues).

Re: Working with light groups

Posted: Tue Apr 10, 2018 7:14 am
by lighting_freak
Hi,

I think two buttons for light groups could solve the issue.
One is like hide/show, the other is ón/off.

Sounds somewhat too simple, probably I forgot to think about some setup situations.

BR

Re: Working with light groups

Posted: Tue Apr 10, 2018 9:44 am
by Dade
B.Y.O.B. wrote: Mon Apr 09, 2018 9:44 pm
Dade wrote: Mon Apr 09, 2018 9:38 pm But probably the simpler solution is to just keep light groups on different Blender layers and turn them on/off
They are a scene property.
Currently, if you define 4 custom light groups and assign no lights to them, you get the default light group plus 4 black images.
Obviously we need some kind of cache during export that checks if a lightgroup is not used by any light and skips the definition of the LuxCore outputs for this lightgroup in that case.
And a manual switch to disable a light group would be good as well (e.g. if you run into RAM issues).
I think the problem is not the memory usage but the rendering time: light sources of a light group with a 0.0 scale are still sampled (for obvious reasons). This means the rendering is a lot slower if you don't plan to change the light group scale.

Re: Working with light groups

Posted: Tue Apr 10, 2018 9:51 am
by B.Y.O.B.
Ok but we're talking about two different issues then.
I'm talking about lightgroups that have no light assigned to them.
You're talking about lightgroups that have lights, but are disabled at render start and still get sampled.

Re: Working with light groups

Posted: Mon Apr 16, 2018 5:35 pm
by lighting_freak
Hi,
You're talking about lightgroups that have lights, but are disabled at render start and still get sampled.
yes, you're right. Do you think there might be an option in luxblend to disable lightgroups for rendering in near future?

BR

Re: Working with light groups

Posted: Fri Jul 13, 2018 8:09 am
by dobe
how can i use the LuxCoreRender Light Groups general in Blender?

set the light groups is not the problem, but can't find the controllsetting while rendering? i searched in the image editor!? :?

Re: Working with light groups

Posted: Fri Jul 13, 2018 8:51 am
by B.Y.O.B.
Use the controls in the properties, scene tab.