Announcement

Collapse
No announcement yet.

Render Id Re-order

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

  • Render Id Re-order

    I noticed that when a object is deleted from a scene the render Id's all reorder. This becomes an issue when they are used for comp, and all the render id's shift and all the mattes break. Is this intentional?


    Thanks,

    Michael

  • #2
    The render IDs are simply assigned by the renderer consecutively to each geometric object. If you add/delete objects, they will change.

    If you need the IDs to be persistent, it may be better to use object IDs, which are specified by the user.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      My DeexVrayFast add you unique object ID on objects.
      www.deex.info

      Comment


      • #4
        Vlado,

        Could this potentially break a render using a saved irradiance map (animation - prepass calculated) that was calculated before an object was added/deleted?

        Originally posted by vlado View Post
        The render IDs are simply assigned by the renderer consecutively to each geometric object. If you add/delete objects, they will change.

        If you need the IDs to be persistent, it may be better to use object IDs, which are specified by the user.

        Best regards,
        Vlado

        Comment


        • #5
          Vlado,

          Does the renderID of an object change based on the membership or presence of objects in a renderLayer within Maya?

          Originally posted by vlado View Post
          The render IDs are simply assigned by the renderer consecutively to each geometric object. If you add/delete objects, they will change.

          If you need the IDs to be persistent, it may be better to use object IDs, which are specified by the user.

          Best regards,
          Vlado

          Comment


          • #6
            Originally posted by dangerweenie View Post
            Could this potentially break a render using a saved irradiance map (animation - prepass calculated) that was calculated before an object was added/deleted?
            Yes, it will break it. I was thinking of locking the map to some hash based on the object's name, but for the moment, it's just render IDs.

            Best regards,
            Vlado
            I only act like I know everything, Rogers.

            Comment


            • #7
              Originally posted by dangerweenie View Post
              Does the renderID of an object change based on the membership or presence of objects in a renderLayer within Maya?
              It is possible that an object will have different render IDs in different layers, depending on what other objects have been added/removed.

              Best regards,
              Vlado
              I only act like I know everything, Rogers.

              Comment


              • #8
                hey Vlado

                Thanks for the feedback.

                So if one is going to render an expensive irradiance map (prepeass), it's advised that before doing so, they "reserve" object IDs for all objects in the scene (say, through a Vray Object Properties node), to be safe and protect the membership from being screwed before rendering?

                That hash/name relationship idea sounds great. I don't suppose there's any utility to view or manipulate the render IDs in an irradiance map file, is there? It's a long shot but worse asking!

                Comment

                Working...
                X