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?
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)
Hi Stephen,
Does this mean that we can render any desired pass separately through kick without necessary beauty pass?
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.
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.
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.