Announcement

Collapse
No announcement yet.

Object ID or Material ID WITH REFLECTION in MultiMatteElement?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Object ID or Material ID WITH REFLECTION in MultiMatteElement?

    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.

    Click image for larger version

Name:	vray_gbuffer_reflection.jpg
Views:	1
Size:	4.2 KB
ID:	869860 The rendering
    Click image for larger version

Name:	vray_gbuffer_reflection_MultiMatteElement.jpg
Views:	1
Size:	1.2 KB
ID:	869861 The MultiMatteElement
    Click image for larger version

Name:	vray_gbuffer_reflection_VRayObjectID.jpg
Views:	1
Size:	1.0 KB
ID:	869862 The VRayMatID element
    Click image for larger version

Name:	vray_gbuffer_reflection_VRayMtlID.jpg
Views:	1
Size:	1.1 KB
ID:	869859 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
    Last edited by Sascha Selent; 06-06-2010, 02:17 AM.

  • #2
    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.
    Troy Buckley | Technical Art Director
    Midwest Studios

    Comment


    • #3
      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

      Comment


      • #4
        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.
        Troy Buckley | Technical Art Director
        Midwest Studios

        Comment


        • #5
          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

          Comment


          • #6
            Originally posted by instinct View Post
            Am still hoping for the same to arrive for reflections
            Yes, hope that too...

            Comment

            Working...
            X