I've been using LPEs with V-Ray GPU a lot recently. But I have a few issues.
It seems that you cannot mix object tags and material tags in a single light path expression. In the attached scene, I have the following expressions:
1. The sphere on the left (tagged 'Left'), followed by any number of interactions of anything other than the objects tagged 'Right' or 'Ground'. Oddly enough, this also includes direct visibility of the background. That seems like a bug.
2. The sphere on the left via its material name, followed by any number of interactions of anything other than the materials named 'RightMat' and 'GroundMat'. This does not include direct visibility of the background, but is other than that identical to the first LPE.
3. This *should* look identical to LPE 1 & 2: one or more interactions with the material named 'LeftMat', followed by any number of interactions of anything other than the objects tagged 'Right' or 'Ground'. However, this LPE is completely black.
4. Both spheres via their materials.
5. Both spheres via their object LPE tags (and the background???).
6. Should include both spheres; is black instead.
It seems that you cannot mix object tags and material tags in a single light path expression. In the attached scene, I have the following expressions:
1. The sphere on the left (tagged 'Left'), followed by any number of interactions of anything other than the objects tagged 'Right' or 'Ground'. Oddly enough, this also includes direct visibility of the background. That seems like a bug.
Code:
C.'Left'+.[^'Right''Ground']*
2. The sphere on the left via its material name, followed by any number of interactions of anything other than the materials named 'RightMat' and 'GroundMat'. This does not include direct visibility of the background, but is other than that identical to the first LPE.
Code:
C.'mLeftMat'+.[^'mRightMat''mGroundMat']*
3. This *should* look identical to LPE 1 & 2: one or more interactions with the material named 'LeftMat', followed by any number of interactions of anything other than the objects tagged 'Right' or 'Ground'. However, this LPE is completely black.
Code:
C.'mLeftMat'+.[^'Right''Ground']*
4. Both spheres via their materials.
Code:
C.['mLeftMat''mRightMat']+.*
5. Both spheres via their object LPE tags (and the background???).
Code:
C.['Left''Right']+.*
6. Should include both spheres; is black instead.
Code:
C.['Left''mRightMat']+.*
Comment