question

Huy Bui avatar image
Huy Bui asked ·

How to setup cryptomatte aov in Katana?

Hi,

I'm trying to get cryptomatte to work in Katata but got no luck. Ridiculously, Live Render provides looking right images (with tons of colors show up), but all exr outputs go wrong for Disk Render or Batch via the render farm. There is no any layer to pick up in Nuke using Crytomatte node. Any thought?

Thanks.

arnold5cryptomattekatana
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.

Mike Farnsworth avatar image
Mike Farnsworth answered ·

I've attached an example katana recipe for this.

The steps, roughly, are:

  1. Create the cryptomatte material, assign it to an arnoldAov shader slot
  2. Set the cryptomatte material on an ArnoldGlobalSettings node, in Channel Definitions -> aov_shaders (add an entry and assign your cryptomatte material)
  3. Create ArnoldOutputChannelDefine and RenderOutputDefine nodes for each of the cryptomatte channels you care about: probably some of crypto_object, crypto_material and crypto_asset
    1. Make sure to leave the type set to RGBA
    2. Don't forget to set the channel on RenderOutputDefine to your channel created in ArnoldOutputChannelDefine

You can enable these outputs for preview renders, but they're most useful when doing disk renders to EXR format, where you need to select the channels in Nuke/Natron/etc

a5-cryptomatte-test-3.zip


Share
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.

Huy Bui avatar image
Huy Bui answered ·

Hi Mike,

Everything works great with your setup!

In the RenderOutputDefine, I made a mistake by leaving type='color' instead of 'raw'. That's why it didn't work. Anyway, many thanks for your help!

Cheers :D

Share
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.