question

David Barlow-Krelina avatar image
David Barlow-Krelina asked

Upgrade to Arnold 5? No Cryptomatte?

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?

mtoaarnold5cryptomattearnold4
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Zeno Pelgrims avatar image
Zeno Pelgrims answered

There's a cryptomatte release for Arnold 5.

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

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

David Barlow-Krelina avatar image
David Barlow-Krelina answered

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?

7 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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 0 ·
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 0 ·

Where is the Arnold log?

0 Likes 0 ·
1 Like 1 ·
images.jpg (2.4 KiB)
Show more comments

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?

0 Likes 0 ·
David Barlow-Krelina avatar image
David Barlow-Krelina answered

Got it working :)

8 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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 0 ·

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

0 Likes 0 ·

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 0 ·

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 0 ·

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 0 ·
Show more comments
rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

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

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.