Light linking expression with Operators

Light linking expression with Operators

clemgranj
Participant Participant
1,077 Views
2 Replies
Message 1 of 3

Light linking expression with Operators

clemgranj
Participant
Participant

Hi everyone,


Is there an easy way to set up a long list of lights for light_group via operators ?

From my tests, it only works when explicitly listing all lights to be considered. Is this the only way for it to work or is it possible to do something like the Houdini attribute lightmask (i.e "* ^light1"). That would be very useful.


Thanks

0 Likes
1,078 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager

You have to list all the lights.

light_group = ['light1' 'light2']


// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 3

clemgranj
Participant
Participant

Yes, that's what I came to understand. Any plans to change this in the future ? For long lists of lights, it would be very very useful to be able to use * and ^. Not to mention the fact that it would be more dynamic. Maybe that would be a new operator instead of set_parameter ?

0 Likes