question

Matthew Gifford avatar image
Matthew Gifford asked ·

Overriding filter type (contour) for toon shading pass in render layers

Im looking for a way in maya 2018's layers system to override the filter type on a specific render layer.

I want to be able to set the 'contour' filter on my toon shaded layer only and keep the other render layers as 'gaussian'

I've been looking into the connection overrides..

For example I can control the width of the filter with the connection override 'defaultArnoldFilter.width'

I gained this information from echoing all commands and changing the width to see the name of the attribute.

However changing the filter type dose not echo anything in the shell...dose anyone know the name of the attribute to override that will allow me to control filter type?

Thankyou

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

Stephen Blair avatar image
Stephen Blair answered ·
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.

Simon Pozzolini avatar image
Simon Pozzolini answered ·

is there any reason why this setup for me doesn't works info.jpg


info.jpg (215.7 KiB)
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.

Matthew Gifford avatar image
Matthew Gifford answered ·

Solved!

Cheers Stephen.

If anyone is looking for the exact syntax per Stephen's link above or a step by step read below.

1. Create a render layer

2. Inside this render layer create a collection and add your objects too this collection

3. Right click your collection - select 'create connection override'

4.In the 'type attribute' box enter 'defaultArnoldFilter.aiTranslator'

5. Hit 'create'

6. In the newly created 'ai translator' box enter the name of the filter you wish to use (contour, gaussian, box e.c.t)

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.