Hey everyone!
Recently Exr IO (Free Photoshop plugin ) added support for Cryptomatte render element for easier workflow when dealing with masks .
So I created this simple script to quickly make masks for the selected objects only using Cryptomatte render elements and user defined properties .
I hope you find it useful : ))
Download link :
http://bit.ly/30NOn3F
How to use :
Note:
make sure to have Exr IO 2.0 plugin installed on Photoshop to be able to create masks from the Cryptomatte pass
https://www.exr-io.com/exr-io-2-00/
Technical details :
The script is using " CryptoMatteMask" as user defined property and assign random value for each object .
the script will create a selection set for all the objects in the scene that have this propriety and name it "AutoCryptomatteSet" for easier selection and for internal calculations ,so please don't add or remove any objects to this set unless you know what are you doing !
To avoid using the same property value if the user used the script multiple times for different objects, the script will re-assign new value for all the objects that have "CryptoMatteMask" property .so if you are using Nuke/Fusion and need to keep your masks consistent be aware of this .
the script will clear all user defined properties for the objects in the above mentioned selection set including any other proprieties assigned by the user ..I'll try to avoid that for future update but for now you can delete the part from line 16 to 22 and use the script just once for all the objects in the scene that will need a mask .
kindly note that I'm still VERY beginner in scripting, so any note or comment to improve this script is highly appreciated !
let me know if you have any issue too (I hope not xD ), so I try fix it in the future update.
Recently Exr IO (Free Photoshop plugin ) added support for Cryptomatte render element for easier workflow when dealing with masks .
So I created this simple script to quickly make masks for the selected objects only using Cryptomatte render elements and user defined properties .
I hope you find it useful : ))
Download link :
http://bit.ly/30NOn3F
How to use :
Note:
make sure to have Exr IO 2.0 plugin installed on Photoshop to be able to create masks from the Cryptomatte pass
https://www.exr-io.com/exr-io-2-00/
Technical details :
The script is using " CryptoMatteMask" as user defined property and assign random value for each object .
the script will create a selection set for all the objects in the scene that have this propriety and name it "AutoCryptomatteSet" for easier selection and for internal calculations ,so please don't add or remove any objects to this set unless you know what are you doing !
To avoid using the same property value if the user used the script multiple times for different objects, the script will re-assign new value for all the objects that have "CryptoMatteMask" property .so if you are using Nuke/Fusion and need to keep your masks consistent be aware of this .
the script will clear all user defined properties for the objects in the above mentioned selection set including any other proprieties assigned by the user ..I'll try to avoid that for future update but for now you can delete the part from line 16 to 22 and use the script just once for all the objects in the scene that will need a mask .
kindly note that I'm still VERY beginner in scripting, so any note or comment to improve this script is highly appreciated !
let me know if you have any issue too (I hope not xD ), so I try fix it in the future update.
Comment