Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[HtoA] Set AOV shader with operators

1 REPLY 1
Reply
Message 1 of 2
jamesrobinsonvfx
320 Views, 1 Reply

[HtoA] Set AOV shader with operators

Is it possible to assign an AOV shader with operators? I have an .ass file with shaders & set parameters that I'm using to assign lookdev to some geometry, and in it I also force the AOV shader to be written to the archive. When using a set parameter operator to set aov_shaders on the options node, nothing seems to happen.


selection: *.(@node == 'options')

I've tried a few of the following:

aov_shaders = '/obj/shop/AOV/cryptomatte1'

aov_shaders = '/obj/shop/AOV/*'

aov_shaders = ['/obj/shop/AOV/cryptomatte1']

aov_shaders = ['/obj/shop/AOV/*']


It doesn't seem to work. I know it's grabbing the right options node though, because things like ignore_shaders = true and xres = 100 definitely work . Putting it in the parameter slot for AOV shaders on the ROP itself doesn't do anything either. I think my syntax is probably wrong.

Am I missing something?

Thanks!

Labels (4)
1 REPLY 1
Message 2 of 2

aov_shaders is an array

and it probably has to already exist before you can set individual elements

kinda like light groups

https://answers.arnoldrenderer.com/questions/17184/operator-light-group-with-an-array-possible.html



// Stephen Blair
// Arnold Renderer Support

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

Post to forums  

Autodesk Design & Make Report