Groups, multiple objects and LPE

Hello,

I have a scene with multiple light sources; I want to highlight a character in my scene, so I'm trying to apply some colored lights only to that character.

I don't know if it's possible to apply a light to a specific object without using LPE. I am new to Light Path Expressions and I don't know exactly howthe language works. I'm trying this from that topic : https://www.daz3d.com/forums/discussion/120056/how-do-you-assign-a-light-to-specific-objects

I have two groups : Character(Boy + Hair) and a group Bodylight (BodylightL + BodylightR).

I want to render only that character with those light so I'm trying that : 

<L['Bodylight']>.*['Character']E

But It seems it doesn't work with groups...

I tried to write every expression that works individually : 

<L['BodylightR']>.*['Boy']E

<L['BodylightL']>.*['Boy']E

<L['BodylightR']>.*['Hair']E

<L['BodylightL']>.*['Hair']E

But it doesnt work, It seems it can render only one expression per canvas.

So I tried to find a way to add multiple object in the expression, with symbols as , + or *, inside or outside the [ ] but nothing works...

<L['BodylightR']+['BodylightL']>.*['Boy']+['Hair']E

<L['BodylightR','BodylightL']>.*['Boy','Hair']E​

...

Could you help me to find the right expression for groups and/or multiple objects ?

I didn't found a complete explanation for that language on the daz3d database.

Thank you

Comments

  • faonkensteinfaonkenstein Posts: 20
    edited September 2019

    Ok I have found the right expression it's : <L['BodylightR''BodylightL']>.*['Boy''Hair']E

    Do you know where I can find more explanations about LPE and compositing in DazStudio ?

    Post edited by faonkenstein on
Sign In or Register to comment.