Hey everyone,
I'm trying to setup cryptomatte in C4DtoA in Arnold 6 - but I'm not being able to install it or at least seeing it under the node list.
I've downloaded these files on the link below (even though there is no bin folder in there as it says on the Description file). And copied it to my shaders and Arnold folder.
https://github.com/Psyop/CryptomatteArnold
I've also downloaded this project file.
https://docs.arnoldrenderer.com/display/A5AFCUG/Setup+Cryptomatte
But it says I don't have cryptomatte.
I can see these AOV's on my IPR but they are empty (don't show on the exr when opened in after effects / cryptomatte plugin).
I'm not sure if I'm doing something wrong of this is not supported on the new version of Arnold?
I also can't install AL shaders 2 (I managed to do it a few years ago on an older version of Arnold.)
Thanks a lot in advance,
All the best
Joao Monteiro
Cryptomatte is included with Arnold.
What you downloaded will cause a conflict and problems, so you can remove that.
You have to add the cryptomatte shader to the AOV Shaders in the Render Settings.
Ohhh brilliant, no wonder why I couldn't find much info about how to install it. Thanks Steph, I'll reinstall C4dtoA again and will then import the shader in there. I'll let you know how it goes.
Cheers
You can click on Arnold > Utilities > Setup cryptomatte in the menu which will add everything you need to use cryptomatte.
Hi @Stephen Blair,
Thanks so much for the help.
This is now working!!
Of course I ran into a different problem and maybe you can help.
When rendering with team render now, on the other machine it fails.
If I render locally with crypto it works, if I render over team render with crypto deactivate it works. I'm using both Mac OS. I'm also rendering image sequences.
I'm on c4d r23 and Arnold 6.1.
I get this error on the my second machine.
[c4dtoa] 00:00:00 4197MB ERROR | [driver_exr] /-----DRIVERS------/CRYPTOMATTE: can't create file "/Volumes/Filepath/SH01-SH05/SH01-05_crypto_.0168.exr": Could not open "/Volumes/File path/C4D Renders/Final_Sequences/SH01-SH05/SH01-05_crypto_.0168.exr" (File output failed.)
2020/12/04 13:26:14 (Error) Render-Job failed: Saving failed.
2020/12/04 13:26:14 Peer-to-Peer Statistics:
> localMachine. Download-Speed 41.21 MiB\s (3x)
Peer-to-Peer Statistics End
I've searched the forum, and found this post from @Peter Horvath, although it's not conclusive or at least to my knowledge.
You are rendering an animation, right? Because, unfortunately, Arnold drivers don't work with single-frame Team Render at the moment.
Is that path correct on the machine? Does it have proper permission to write there?
Hi @Peter - Yes I'm rendering image sequences.
As soon as I disable to Cryptomatte Driver - team render works.
See attached setup.
I've got my main AOV's (DRIVERS) and I've added a separate one for the cryptomatte output as I was having trouble when having it merged in After effects (like this it works).
Make sure the path you set in the driver is available on the client machine. Unlike the native c4d output, Arnold drivers write the file on the client machine when the frame is rendered.
Ideally you have a network drive mounted to the same path on each client.
If it differs, is there any solution to have both?
Can I override the path location in the other machine?
I think it might be it, as the second machine is accessing the volume through the network.
I was trying to follow this but unfortunately I don't understand how to do this and what apps to use.
https://www.twilio.com/blog/how-to-set-environment-variables-html
Thanks
MainMachine:
/Volumes/Lacie 2BIG 6TB/MONDI STUDIO/02_Client Projects/HOCUSPOCUS-UNILIVE/02 C4D/C4D Renders/Final_Sequences/SH01-SH05/SH01-05_crypto_.exr
Secondary Machine:
smb://apple’s Mac Pro._smb._tcp.local/MONDI STUDIO/02_Client Projects/HOCUSPOCUS-UNILIVE/02 C4D/C4D Renders/Final_Sequences/SH01-SH05/SH01-05_crypto_.exr
The only solution currently is using environment variables.
Here's a guide of how to set environment variables: https://osxdaily.com/2015/07/28/set-enviornment-variables-mac-os-x/
NOTE: I noticed that recent Cinema 4D versions automatically correct the path and does not allow $MYFOLDER at the beginning. This is really annoying. I have to ask MAXON if this can be turned off. Currently you cannot use env vars because of this. I guess you have to wait for a new build to make this work.