Hello everyone.
I would like to do a rendering with a separate mask-pass for an object seen by reflection.
I got a mirror with an object (ObjID = 1, MatID = 1) in front of it. In the rendering the object can be seen in the mirror.
When I add a MultiMatteElement (or VRayObjID or VRayMtlID, whatever) this ID can´t be seen in the mirror.
The rendering
The MultiMatteElement
The VRayMatID element
The VRayObjID element
Is there any way to achieve this?
Thanks and kind regards.
Sascha
EDIT: Ah, forgot to say: Max 2010, VRay Advanced 1.5 SP5
More than likely what you are going to have to do is make a seperate render for the ID Reflection pass. Turn off all lights in the scene and assign a VRay Light Mtl to the sphere and turn off camera visibility. Next, just make sure the mirror is 100 percent reflective. You should get a white sphere on the mirror object.
Ahm, yeah, thanks, that is to set up a seperate scene for every pass I need - I do it this way. But this is not what I´m looking for.
I would like to take advantage of RenderElements.
To do this in a seperate scene means to set up the whole thing again every time something has changed… needs a lot of time.
Also working with scene states is somewhat surprising - I had some bad experiences with that…
No way to achieve this with RenderElements? The Scanliner can render MatIDs in RenderElements… so principally it seems to work…
Any ideas?
Thanks, Sascha
I have been trying to figure out a different way, similar to what you are trying to do, but I have been unsuccessful. Maybe someone with more compositing/renderpass setup experience will chime in.
Sorry. 
This doesnt work for reflections. Since a few builds this does work for refractions tho (when the drop down is set to affect all channels). Am still hoping for the
same to arrive for reflections
Regards,
Thorsten