question

Fynn Ribbeck avatar image
Fynn Ribbeck asked ·

Object mask completely black for every object in IPR window and in render,Object Mask complete blackg up in IPR window or anywhere else

Hi!

I have just finished a scene and tried to render out Object Masks for individual objects, but after applying the Object Mask tags to the objects and making their custom AOVs active in the render settings (and usually I get normal results with this) nothing shows up - I can choose the AOVs in the IPR view, but they are just completely black for every object.

I tried to work out where the problem is originating, but I can't find the source problem. I am using the Arnold toon shader in the scene, could that maybe be a problem in combination with Object masks? Also I have Ambient occlusion and Global Illumination active.

Best regards,

Fynn

,

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

Peter Horvath avatar image
Peter Horvath answered ·

Yes, it's because of the toon shader, or more specifically the contour filter. It does not allow float type AOVs. You can select the object mask AOVs in the object tree and either change the type to RGB or change the filter to a gaussian filter.

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.

Fynn Ribbeck avatar image
Fynn Ribbeck answered ·

Perfect thanks! You are a big help :)

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.

Peter Horvath avatar image
Peter Horvath answered ·

Select the AOV object in the object tree and change the Data type in the Attribute Editor.

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.

Fynn Ribbeck avatar image
Fynn Ribbeck answered ·

Ah I see, so it really is the contours. Thanks!

Where exactly can I find the option to change the AOV type? In the node editor or in the render settings?

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.

Fynn Ribbeck avatar image
Fynn Ribbeck answered ·

It seems like I am able to get results with the "aov write float" node, but then I would have to create a new material for every object

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.