aovs in refraction with lpe?
3622
10
0
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 2, 2019 12:33 p.m.
Hey guys, is it possible to separate the individual direct and indirect components behind some refractive planes using light path expressions?
jsmack
Member
8035 posts
Joined: Sept. 2011
Online
Aug. 2, 2019 4:58 p.m.
I'm fairly certain you can. the path length is a matter of how many events you list in your LPE.
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 3, 2019 9:09 a.m.
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
dlee
Staff
441 posts
Joined: Sept. 2016
Offline
Aug. 3, 2019 12:18 p.m.
If you *only* want stuff behind the refractive planes, you should replace “*” with “.” (* indicates 0 or more, whereas . indicates 1 or more)
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 3, 2019 5:41 p.m.
Ahhh makes sense. Many thanks!
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 5, 2019 6:56 a.m.
One last question on this subject. Anyone have any idea why this doesn't work? lpe:C<TG>.<…'sss'>.*
dlee
Staff
441 posts
Joined: Sept. 2016
Offline
Aug. 5, 2019 2:35 p.m.
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.
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 5, 2019 5:31 p.m.
Nice one, cheers.
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 6, 2019 5:20 a.m.
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.
dlee
Staff
441 posts
Joined: Sept. 2016
Offline
Aug. 6, 2019 12:43 p.m.
The bug should be fixed in upcoming daily build.
stari
Member
29 posts
Joined: March 2014
Offline
Aug. 7, 2019 10:29 a.m.
Amazing! Many thanks.