How can I create cryptomatte AOV with python script?

How can I create cryptomatte AOV with python script?

an_jp
Community Visitor Community Visitor
1,712 Views
1 Reply
Message 1 of 2

How can I create cryptomatte AOV with python script?

an_jp
Community Visitor
Community Visitor

Actually,I can make AOV by python command,but the shader does not made and
nothing is rendered.
So I want to know how to make the cryptomatte shader with python script.

make AOV with command here:

aovs.AOVInterface().addAOV('crypto_asset' )
aovs.AOVInterface().addAOV('crypto_material' )
aovs.AOVInterface().addAOV('crypto_object' )


0 Likes
1,713 Views
1 Reply
Reply (1)
Message 2 of 2

Stephen.Blair
Community Manager
Community Manager
import mtoa.aovs
mtoa.aovs.AOVInterface().addAOV('crypto_asset', aovShader='cryptomatte' )




// Stephen Blair
// Arnold Renderer Support
0 Likes