Jump to content

Mantra Light Path Expressions(LPE) Exclude Coat


Recommended Posts

Hi guys,

I'm trying to write a light path expression that excludes the default custom bsdf label "coat" 

To have only the coat layer is: 

 lpe:C<...'coat'>.*

To have all reflections but the coat I would expect it to be:

lpe:C<RG[^...'coat']>.*

This gives a syntax error and doesn't seem to  work.

Has anyone tried this before and knows the correct syntax or is this a bug?

Cheers,

Luca 

Edited by LucaScheller
Link to comment
Share on other sites

Mh doesn't seem to work in Mantra. I've also tried

RenderMan lpe:CD[S]+<L.>   --> Mantra  lpe:CD[G]+<L.>

as described here. Also doesn't seem to work.

I guess it's because caustics are not part of the path tracing process? So we can't access them via lpe?

"Soft caustics" (enabling "Allowable paths" on your mantra node) works with

lpe:C<RD>G+L or  lpe:CD[G]+<L.>

though, since it is then path traced. 

Or is there a custom lpe type we can access for caustics?

Link to comment
Share on other sites

7 hours ago, LucaScheller said:

... (enabling "Allowable paths" on your mantra node) works with


lpe:C<RD>G+L or  lpe:CD[G]+<L.>

though, since it is then path traced. ..

correct, that LPE is for true, pathtraced caustics

if you are talking about biased pointcloud caustic light, then I'd assume it would be accessible as direct lighting pass from specifically labeled caustic lights

like adding LPE Tag to your caustic light and name it somehow, like: 'caustics' and then something like 

lpe:CD+<L.'caustics'>

but it doesn't seem to work, neither does more broad lpe Beauty (lpe:C.*) that should capture everything, so I'd assume it's not straightforward to isolate those using LPE currently

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...