After creating the 3D Scene with Models, Shader, Lights & Animation there is often just one thing missing, render elements. Most of them are working straight from Vray, but to create nice and more important, constant Multi Matte elements you have to assign a lot of ids to your objects by hand. To get rid of this painful task, I wrote this small tool set. With the help of this script, you can easily Assign IDs and create Vray Multi Mattes with just a few clicks.
“all” assigns IDs to all Shapes / Materials
“Selected” assigns IDs to selected Shapes / Materials
with “unique”, you can decide if you just want to assign one ID to the Objects/Materials or an unique ID for all Objects / Materials
“Create Multi Matte Element” will create Vray RenderElements for all IDs in the current Scene.
just Place the mel file in your script folder and run it with dr_MM or just add “dr_MM;” to the end of the file and run it straight from the Script Editor
the new version (1.3) has now two additional buttons to create the Multi Mattes for Mats and Objects seperatly. New file, old link