Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

[HtoA] Set AOV shader with operators

1 ANTWORT 1
Antworten
Nachricht 1 von 2
Anonymous
428 Aufrufe, 1 Antwort

[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!

Beschriftungen (4)
1 ANTWORT 1
Nachricht 2 von 2
Stephen.Blair
als Antwort auf: Anonymous

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

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report