aovs in refraction with lpe?
3739
10
0
stari
Member
29 posts
Joined: 3月 2014
Offline
2019年8月2日 12:33
Hey guys, is it possible to separate the individual direct and indirect components behind some refractive planes using light path expressions?
jsmack
Member
8045 posts
Joined: 9月 2011
Offline
2019年8月2日 16:58
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: 3月 2014
Offline
2019年8月3日 9:09
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 - 2019年8月3日 09:49:56
dlee
スタッフ
444 posts
Joined: 9月 2016
Offline
2019年8月3日 12:18
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: 3月 2014
Offline
2019年8月3日 17:41
Ahhh makes sense. Many thanks!
stari
Member
29 posts
Joined: 3月 2014
Offline
2019年8月5日 6:56
One last question on this subject. Anyone have any idea why this doesn't work? lpe:C<TG>.<…'sss'>.*
dlee
スタッフ
444 posts
Joined: 9月 2016
Offline
2019年8月5日 14:35
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: 3月 2014
Offline
2019年8月5日 17:31
Nice one, cheers.
stari
Member
29 posts
Joined: 3月 2014
Offline
2019年8月6日 5:20
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
スタッフ
444 posts
Joined: 9月 2016
Offline
2019年8月6日 12:43
The bug should be fixed in upcoming daily build.
stari
Member
29 posts
Joined: 3月 2014
Offline
2019年8月7日 10:29
Amazing! Many thanks.