Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
359 Views, 5 Replies

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?

Tags (2)
Labels (2)
5 REPLIES 5
Message 2 of 6
Stephen.Blair
in reply to: Anonymous

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)




// Stephen Blair
// Arnold Renderer Support
Message 3 of 6

Hi Stephen,

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

Message 4 of 6

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.



// Stephen Blair
// Arnold Renderer Support
Message 5 of 6

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.

Message 6 of 6

You save some overhead, because Arnold doesn't have to build up the RGBA beauty AOV. But Arnold still has to do all the ray tracing and the rest.



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums