LucaScheller Posted October 16, 2018 Share Posted October 16, 2018 (edited) 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 October 16, 2018 by LucaScheller Quote Link to comment Share on other sites More sharing options...
anim Posted October 17, 2018 Share Posted October 17, 2018 try this for all but coat lpe:C<...[^'coat']>.* or all glossy reflections but coat lpe:C<RG.[^'coat']>.* Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted October 17, 2018 Author Share Posted October 17, 2018 (edited) Ah I understand the syntax now. Works like a charm Thanks Edited October 17, 2018 by LucaScheller Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted October 17, 2018 Author Share Posted October 17, 2018 Is it possible to have a lpe for caustics only? Quote Link to comment Share on other sites More sharing options...
anim Posted October 17, 2018 Share Posted October 17, 2018 4 hours ago, LucaScheller said: Is it possible to have a lpe for caustics only? something like this lpe:C<RD>G+L 1 Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted October 18, 2018 Author Share Posted October 18, 2018 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? Quote Link to comment Share on other sites More sharing options...
anim Posted October 18, 2018 Share Posted October 18, 2018 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 1 Quote Link to comment Share on other sites More sharing options...
garf Posted October 25, 2019 Share Posted October 25, 2019 Has there been any development on this? I'd love to pull the caustic light with an lpe..... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.