question

Javier Sãnchez Garrido avatar image
Javier Sãnchez Garrido asked ·

Is possible rendering throught kick ass the pass N, P and cryptomatte?

Hi Lee, I am Lighter Supervisor at Anima Kitchen, and we need something your help.

Is possbile sent to render throught kick ass the pass N, P and cryptomatte, only I need these passes?


other question, if these Aovs N, P and Cryptomtte aren´t into this .ass. ¿is possible create a new .ass with theses passes with scripting?

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

1 Answer

· Write an Answer
Stephen Blair avatar image
Stephen Blair answered ·

Yes, you use the Arnold API to build an outputs parameter that looks like this:

 outputs 5 1 STRING
  "N VECTOR aiAOVFilter1/closest_filter defaultArnoldDriver/driver_exr.RGBA"
  "P VECTOR aiAOVFilter2/closest_filter defaultArnoldDriver/driver_exr.RGBA"
  "crypto_asset RGB defaultArnoldFilter/gaussian_filter defaultArnoldDriver/driver_exr.RGBA"
  "crypto_material RGB defaultArnoldFilter/gaussian_filter defaultArnoldDriver/driver_exr.RGBA"
  "crypto_object RGB defaultArnoldFilter/gaussian_filter defaultArnoldDriver/driver_exr.RGBA"


some pseudocode:

newOutputs= AiArray(2, 1, AI_TYPE_STRING)
AiArraySetStr(newOutputs, 0,"N VECTOR aiAOVFilter1/closest_filter defaultArnoldDriver/driver_exr.RGBA")
AiArraySetStr(newOutputs, 1,  "P VECTOR aiAOVFilter2/closest_filter defaultArnoldDriver/driver_exr.RGBA")
AiNodeSetArray(options, "outputs", newOutputs)


4 comments 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.

Hi Stephen,

Does this mean that we can render any desired pass separately through kick without necessary beauty pass?

0 Likes 0 · ·
Stephen Blair avatar image Stephen Blair ♦♦ Sergeyklesov Sergeyklesov ·

You don't have to write out the beauty, but I think Arnold is still going to do all the work.

You just won't have an outputs entry for the RGBA beauty.

You can export an ASS file and hand edit it, to see for yourself. I did that too.

0 Likes 0 · ·

So as I understand it won't speedup rendering, just output will lack beauty pass, right?
For example if I have a task to change specular pass in compositing stage and need to rerender just this pass of the sequence, it would be great to have opportunity to recalculate only single pass and don't waste time to rendering whole image.

0 Likes 0 · ·
Show more comments

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.