Upgrade to Arnold 5? No Cryptomatte?

Upgrade to Arnold 5? No Cryptomatte?

Anonymous
Not applicable
4,466 Views
19 Replies
Message 1 of 20

Upgrade to Arnold 5? No Cryptomatte?

Anonymous
Not applicable

I'm debating whether I should upgrade to Arnold 5 in Maya. I see there is no longer support for the alShaders. Cryptomatte is amazing and losing this is a deal breaker for me.

What are the material id / object id workflows in Arnold 5? I haven't been able to find any info convincing enough to motivate me to upgrade. Thoughts?

0 Likes
Accepted solutions (1)
4,467 Views
19 Replies
Replies (19)
Message 2 of 20

zenop
Advocate
Advocate
Accepted solution

There's a cryptomatte release for Arnold 5.

https://support.solidangle.com/display/A5AFMUG/Cryptomatte

0 Likes
Message 3 of 20

Anonymous
Not applicable

Thanks. I'm just trying to install now but with difficulty. I'm working in Maya 2017.

The download link you provided has an empty INSTALL.txt. So I followed along on the solid angle page. I copied the .dll and .mtd to:

C:\solidangle\mtoadeploy\2017\shaders\

But they aren't being recognized in Maya. Is there something I'm missing?

0 Likes
Message 4 of 20

zenop
Advocate
Advocate

What is the Arnold log telling you? And the maya script editor? It's definitely in the right place so something else must be wrong, and usually arnold is pretty good at telling you!

0 Likes
Message 5 of 20

Stephen.Blair
Community Manager
Community Manager

You must have Arnold 5.0.1 or later (MtoA 2.0.1 or later).
Open a command prompt and run these commands:

cd C:\solidangle\mtoadeploy\2017
bin\kick -nodes -l shaders

Do you see any errors? Are the cryptomatte nodes listed?



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 6 of 20

Anonymous
Not applicable
import arnold
// Successfully imported python module 'arnold'
import mtoa
// Successfully imported python module 'mtoa'
...
// Warning: file: C:/Program Files/Autodesk/Maya2017/scripts/startup/autoLoadPlugin.mel line 32: Loading plug-in "mtoa" has resulted in changes to the scene that may need to be saved. //

Nothing super out of the ordinary? I'm expecting to see cryptomatte in the aov browser, but no luck.

0 Likes
Message 7 of 20

Anonymous
Not applicable

Where is the Arnold log?

0 Likes
Message 8 of 20

Stephen.Blair
Community Manager
Community Manager

Arnold log



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 9 of 20

Stephen.Blair
Community Manager
Community Manager

in the Maya output window
in the Render Settings, increase the verbosity level (Diagnostics tab)



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 10 of 20

Anonymous
Not applicable
0 Likes
Message 11 of 20

Anonymous
Not applicable

Got it working 🙂

0 Likes
Message 12 of 20

Anonymous
Not applicable

Hey David,

I'm stuck with the same problem, which you managed to solve.

I've put corresponding files to:

C:\solidangle\mtoadeploy\2017\shaders\

C:\solidangle\mtoadeploy\2017\scripts\mtoa\ui\ae

And still can't see those appear in my add AOV tab in render settings.

By any chance do you remember solution ?

Thanks in advance.

0 Likes
Message 13 of 20

Stephen.Blair
Community Manager
Community Manager

What version of MtoA? The instructions in the docs are all you need to do if you have MtoA 2.0.1 or later



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 14 of 20

Anonymous
Not applicable

I'm running MtoA 2.0.1 on Maya2017.
Just to be clear:
I've put - my cryptomatte.lib and cryptomatte.mtd in:
C:\solidangle\mtoadeploy\2017\shaders

and

cryptomatteTemplate.pc/.pyc in:
C:\solidangle\mtoadeploy\2017\scripts\mtoa\ui\ae

0 Likes
Message 15 of 20

Anonymous
Not applicable

My issue was that I was not using MtoA 2.0.1. So I upgraded and copied cryptomatte.dll, .lib and .mtd to:

C:\solidangle\mtoadeploy\2017\shaders

That's it! You should see cryptomatte in the Render Settings AOV Browser

0 Likes
Message 16 of 20

Anonymous
Not applicable

So after further investigation I checked Arnold log and thats what I'm getting:

"unable to load dynamic library C:/solidangle/mtoadeploy/2017/shaders\cryptomatte.dll: The specified procedure could not be found. "

@Stephen Blair

0 Likes
Message 17 of 20

Anonymous
Not applicable

Hi

Create "Cryptomatte" folder or any name you want in C:\> driver or other drive, and add theses variables to your OS
ARNOLD_PLUGIN_PATH=C:\Cryptomatte\bin
MAYA_CUSTOM_TEMPLATE_PATH= C:\Cryptomatte\aexml
MTOA_TEMPLATE_PATH=C:\Cryptomatte\ae

0 Likes
Message 18 of 20

Stephen.Blair
Community Manager
Community Manager

Cryptomatte has two dependencies:



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 19 of 20

Anonymous
Not applicable

@Stephen Blair

I'm really starting to giving up on this, since I've tried nearly everything I've found on web.

I'm running Arnold 5.0.0.2 to be clear

I got VS2010R installed.

And thats it, I tried manually uninstlling any other VS redistributables which ended up messing up my mtoa installation, aswell as shutting down antivirs and whatnot.

And still getting the same error:

unable to load dynamic library " C:/solidangle/mtoadeploy/2017/shaders\cryptomatte.dll: The specified procedure could not be found. "

Does it have something to do with last slash being reversed?

0 Likes
Message 20 of 20

Stephen.Blair
Community Manager
Community Manager

5.0.0.2 is the problem.

You need Arnold 5.0.1 or later. Download MtoA 2.0.1 or later



// Stephen Blair
// Arnold Renderer Support
0 Likes