LPE expression to isolate one object indirect reflection

   3041   2   0
User Avatar
Member
11 posts
Joined: July 2018
Offline
My salutations;
I have this rocket separated into basic geometry nodes in the scene and this is the final render.

My goal is to render the indirect reflection of each object of the rocket on the rest of the objects.
This is the indirect reflection of all the objects.

I have tried LPE (Light Path Expressions) to achieve this but this is my first time using LPE.
I'm a little bit confused about the syntax and different variables.

I have assigned an LPE Tag for each object in the scene.

I tried this expression "lpe:G+'fins'L" to isolate diffuse and glossy bounces of the fins (colored in red) but I get nothing (empty image) when I visualize that pass in Mplay.

So what's the right expression to isolate the indirect reflection of the red fines on the rest of the parts of the rocket?

Thank you for putting the time to read this post.
I really appreciate your help.
Edited by Abdelkrim - June 23, 2020 14:11:09

Attachments:
Rocket Render.JPG (17.4 KB)
Objects.JPG (23.3 KB)
Rocket Indirect Reflection.JPG (12.9 KB)
LPE Tag.JPG (33.7 KB)
LPE Expression.JPG (23.6 KB)
LPE Pass.JPG (19.5 KB)

Abdelkrim
User Avatar
Member
8548 posts
Joined: July 2007
Online
looks like you have a typo in there, try this:
lpe:C[GD]+'fins'L
Edited by tamte - June 24, 2020 02:45:10
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
11 posts
Joined: July 2018
Offline
tamte
looks like you have a typo in there, try this:
lpe:C[GD]+'fins'L
This works perfectly!
Thanks a lot.
Abdelkrim
  • Quick Links