Announcement

Collapse
No announcement yet.

automatically assign mateiralID for every material in scene?

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

  • automatically assign mateiralID for every material in scene?

    The old PowerMasker script no longer works for me in Max 2020
    Does anyone know a quick easy way to assign a material ID to every material in a scene for the VrayMtlID render element??
    Last edited by Richard7666; 29-09-2020, 12:54 AM.

  • #2
    Look at Cryptomatte. Need 32bit and bucket rendering though

    Comment


    • #3
      http://www.scriptspot.com/3ds-max/sc...automultimatte
      James Burrell www.objektiv-j.com
      Visit my Patreon patreon.com/JamesBurrell

      Comment


      • #4
        I think I used to use this one, doesn't the Multimatte element only support 3 colours though? From memory this scrip creates a whole bunch of multimattes

        PowerMasker used to use the MaterialID render element, which supports unlimited different colours

        Comment


        • #5
          It creates as many multimattes as needed for either the selected objects' materials or for the entire scene. Yes it's a pain but imo you'll get cleaner selections than you can with a single pass with a bunch of different colors. If you're using PS you can isolate a mask by alt clicking the eye next to it, then use alt+crtl+3 to select the red channel alt+ctrl+4 for green and alt+ctrl+5 for blue. You can add shift into that button combo to add to a selection. That way you can in a second or two cycle through the multimattes you need and build up the selection you need.
          James Burrell www.objektiv-j.com
          Visit my Patreon patreon.com/JamesBurrell

          Comment

          Working...
          X