aovs in refraction with lpe?

   3686   10   0
User Avatar
Member
29 posts
Joined: March 2014
Offline
Hey guys, is it possible to separate the individual direct and indirect components behind some refractive planes using light path expressions?
User Avatar
Member
8041 posts
Joined: Sept. 2011
Offline
I'm fairly certain you can. the path length is a matter of how many events you list in your LPE.
User Avatar
Member
29 posts
Joined: March 2014
Offline
hmmmm… Sorry my knowledge on this is very limited, so does that mean if i have 3 refractive planes i would have to write something like this for direct diffuse?

lpe: C<TG>*<RD>L

?
Edited by stari - Aug. 3, 2019 09:49:56
User Avatar
Staff
444 posts
Joined: Sept. 2016
Offline
If you *only* want stuff behind the refractive planes, you should replace “*” with “.” (* indicates 0 or more, whereas . indicates 1 or more)
User Avatar
Member
29 posts
Joined: March 2014
Offline
Ahhh makes sense. Many thanks!
User Avatar
Member
29 posts
Joined: March 2014
Offline
One last question on this subject.

Anyone have any idea why this doesn't work?
lpe:C<TG>.<…'sss'>.*
User Avatar
Staff
444 posts
Joined: Sept. 2016
Offline
Sorry, I misspoke: “.” isn't 1 or more, it's “+”. However it still won't work due to a bug. I'll have it fixed tomorrow.
User Avatar
Member
29 posts
Joined: March 2014
Offline
Nice one, cheers.
User Avatar
Member
29 posts
Joined: March 2014
Offline
Just a heads up on this. Whilst it wont render in the render viewer, it seems to render the sss lpe fine over the farm.
User Avatar
Staff
444 posts
Joined: Sept. 2016
Offline
The bug should be fixed in upcoming daily build.
User Avatar
Member
29 posts
Joined: March 2014
Offline
Amazing!
Many thanks.
  • Quick Links