Like a lot of users I often setup up a MultiMatte render element for a particular object(s) so I can isolate it in post. I thought I'd write a script to automate some of it - mainly assigning the object ID or Mat ID and setting up the corresponding render elements. Along with this I threw in some option to check for existing ID's as well treating instances together and just treating the entire selection as one group (so all objects get the same ID). It will name the render element based on the provided prefix as well as the three objects or materials selected
It's not exhaustively tested and the code is kind of jumbled together so use it at your own risk but let me know if it's helpful (it's worked fine for me). If you find anything broken on it let me know and I'll try to get it cleared up.
I borrowed some functions code from the BlurScript Pack's MaterialStuffer (available at Neil Blevins' website http://www.neilblevins.com/blurscripts/blurscripts.htm) since I use a lot of those functions to sort through the instances, etc. You don't need to install it (I think) but I thought I'd mention where it came from.
To install, run the script and then under Customize User Interface-->dPict Tools-->MultiMatte Generator
Enjoy.
It's not exhaustively tested and the code is kind of jumbled together so use it at your own risk but let me know if it's helpful (it's worked fine for me). If you find anything broken on it let me know and I'll try to get it cleared up.
I borrowed some functions code from the BlurScript Pack's MaterialStuffer (available at Neil Blevins' website http://www.neilblevins.com/blurscripts/blurscripts.htm) since I use a lot of those functions to sort through the instances, etc. You don't need to install it (I think) but I thought I'd mention where it came from.
To install, run the script and then under Customize User Interface-->dPict Tools-->MultiMatte Generator
Enjoy.
Comment