Isotropix Forums

Isolating Specular2 using LPE?

General Discussion about Isotropix and CG related topics

Isolating Specular2 using LPE?

Unread postby doubleClick » Sat Nov 14, 2020 3:10 pm

Hi,
I'm trying to isolate the direct coat pass (Specular2) of the standard material into an AOV using LPEs.
Straight forward expressions in other render packages, like Arnold: C<RS'coat'>L, seem to be pretty tricky in clarisse.
I converted this to C[<RS.'coat'><RG.'coat'>]L|O following the definition from the document:<EventTypeScatteringType'MaterialLabel''LobeLabel'>
Unfortunately this doesn't work. I also tried to index the ScatteringType using S2 and G2 for the second lobe, which didn't work either.

Any help is much appreciated.
doubleClick
 
Posts: 1
Joined: Sun Dec 14, 2014 11:17 am

Re: Isolating Specular2 using LPE?

Unread postby dboude » Mon Nov 16, 2020 9:39 am

Hi,

The correct syntax is like this C<RS.'coat'>.*L|O

Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1603
Joined: Mon Jul 03, 2017 10:51 am

Re: Isolating Specular2 using LPE?

Unread postby renderBJ » Wed Feb 03, 2021 10:49 pm

Hi,

This expression doesn't seem to work and also only filters for pure specular and not glossy. The labels only seem to work only in combination with constants e.g.: C<RG.'coat'>.*<K.'albedo'>

Cheers
renderBJ
 
Posts: 12
Joined: Tue Aug 20, 2019 9:45 pm

Re: Isolating Specular2 using LPE?

Unread postby aaute » Mon Feb 08, 2021 9:51 am

After investigation, Clarisse share samples across multiple BSDF. AS a result you can extract only the Constant as you said.

Cheers
Aymeric
Isotropix
Technical Artist - Clarisse Specialist
User avatar
aaute
 
Posts: 45
Joined: Mon Nov 02, 2020 11:59 am

Re: Isolating Specular2 using LPE?

Unread postby sam » Mon Feb 08, 2021 10:47 am

As Aymeric mentioned, exporting per lobe light path doesn't work. I think the confusion lies that at some point we internally had enabled this feature and then removed it upon release. It can't work currently since Clarisse is sharing light paths across multiple BSDFs to reduce noise. While this works fine when extracting high level events (RD, RG...) it doesn't when extracting individual lobes since they are mixed with others. Hope I'm making sense.
Sam Assadian
Isotropix
CEO/Founder
User avatar
sam
 
Posts: 1611
Joined: Fri Jan 25, 2013 11:33 pm


Return to General Discussion