Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I create cryptomatte AOV with python script?

1 REPLY 1
Reply
Message 1 of 2
an_jp
1086 Views, 1 Reply

How can I create cryptomatte AOV with python script?

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' )


Tags (2)
Labels (2)
1 REPLY 1
Message 2 of 2
Stephen.Blair
in reply to: an_jp

import mtoa.aovs
mtoa.aovs.AOVInterface().addAOV('crypto_asset', aovShader='cryptomatte' )




// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report