Announcement

Collapse
No announcement yet.

object ID and selection sets...

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

  • object ID and selection sets...

    is there a way to add a vray object ID attribute to a selection set..?
    would be really useful for grouping objects and assign them more then one ID...

  • #2
    Hi,
    If you want to do this :
    - multimatte for a group of objects
    - multimatte for a sub objects of the group

    You can use "user attibutes" with extraTex renderElement to output your "multimatte mask" (and not object ID), because user attributes can have multiple hierarchy, and object ID can not.
    www.deex.info

    Comment


    • #3
      thanks for input...
      groups wont work they are in use for animation and rigging purposes... cant use them...


      could you explain the workflow with the user attribute a bit further..?

      Comment


      • #4
        you can also create an object property with id-override, assign your objects/groups/locators to them. your object properties are then "groupable" within selection sets. hm... but this does not sound very helpful for your problem...
        ... if a transform node is assigned to a property, its children can also be assigned to another object property with another id for example...

        Comment


        • #5
          it should work like this...

          just add a vray ID to the selection set and add all the objects to that set...
          the object itself should keep there own IDs...

          so you would be able to assign a character the ID 1 via the set...
          and assign all the deforming parts to an other ID with a second set...
          and all metal parts the ID via the material or a third set...

          Comment


          • #6
            Originally posted by FSGFX View Post
            it should work like this...

            just add a vray ID to the selection set and add all the objects to that set...
            the object itself should keep there own IDs...

            so you would be able to assign a character the ID 1 via the set...
            and assign all the deforming parts to an other ID with a second set...
            and all metal parts the ID via the material or a third set...
            any news here..?

            Comment


            • #7
              Like i told, if you want to use more than 1 id to an object, use "user attibutes"
              www.deex.info

              Comment


              • #8
                yes but they are ard to track... if you have 500 objects in the scene and multipel shots its hard to tell whats going on...

                Comment


                • #9
                  "user attibutes" work with hierarchy, objectID not.
                  If you want to manage all, you can create an UI in QT. This is not very difficult for someone that know how to script.
                  www.deex.info

                  Comment


                  • #10
                    why not use maya selection sets to assign attributes to... would make a lot of things easier...
                    no inhouse TDs needed...

                    Comment


                    • #11
                      What about using inclusive selection sets within ExtaTex RE?
                      You may create different ExtraTex RE for each hierarchical level then for each RE assign maya selection set as inclusive set.
                      Each selection set should contain the corresponding hierarchical group.

                      Example:
                      level 0: Click image for larger version

Name:	Screenshot-12-18-28.png
Views:	1
Size:	300.0 KB
ID:	858834
                      level 1: Click image for larger version

Name:	Screenshot-12-19-44.png
Views:	1
Size:	299.0 KB
ID:	858835
                      level 2: Click image for larger version

Name:	Screenshot-12-20-41.png
Views:	1
Size:	296.8 KB
ID:	858836

                      Scene: http://ftp.chaosgroup.com/support/sc...group_masks.mb
                      ExtraTex elements 1 to 3 operates with user-attributes setup mentioned by bigbossfr, the rest from the them uses Maya Selection Sets.
                      Attached Files
                      Svetlozar Draganov | Senior Manager 3D Support | contact us
                      Chaos & Enscape & Cylindo are now one!

                      Comment


                      • #12
                        thats a solution yes... but im not allowed to change object hierarchies...
                        id like to seltect a punch of objects and create a set for it --> ID

                        or select some objects and create a set for the subD attribute...
                        Last edited by FSGFX; 09-11-2015, 03:50 AM.

                        Comment


                        • #13
                          This setup works with individual objects as well.
                          Instead selecting hierarchical group you could select individual objects as inclusive set for ExtraTex element.
                          Svetlozar Draganov | Senior Manager 3D Support | contact us
                          Chaos & Enscape & Cylindo are now one!

                          Comment

                          Working...
                          X