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

Required AOVs in AiRawDriverInitialize();

4 ANTWORTEN 4
Antworten
Nachricht 1 von 5
zenop
333 Aufrufe, 4 Antworten

Required AOVs in AiRawDriverInitialize();

Hi,


I'm wondering what the "required aovs" in a raw driver actually does.


I usually fill it in like a good citizen of the arnold universe:

static const char *required_aovs[] = {"RGBA RGBA", "VECTOR P", "FLOAT Z", "RGBA transmission", NULL}; AiRawDriverInitialize(node, required_aovs, false);


However, it doesn't make a difference if I remove the required aovs. So I was wondering what the purpose of this is. The API docs simply say:



NULL-terminated array of AOV descriptors ("TYPE name") to route to this driver


Thanks lads

Z

Tags (3)
Beschriftungen (3)
4 ANTWORTEN 4
Nachricht 2 von 5
Stephen.Blair
als Antwort auf: zenop

You can remove the required AOVs and still access them?

And they are not output by for any other driver?



// Stephen Blair
// Arnold Renderer Support
Nachricht 3 von 5
zenop
als Antwort auf: Stephen.Blair

Yes, I can remove them and still access them. They are output by another driver currently (both exr_driver and a custom one).
However, I cannot access the AOVs if linked to the exr_driver only (regardless of specification in the required_aovs)

Nachricht 4 von 5
Stephen.Blair
als Antwort auf: zenop

@ You should be able to access any AOV that is generated by any driver.
The required_aovs is for ensuring that Arnold generates the AOVs needed by the raw driver, even if no other driver generates them.



// Stephen Blair
// Arnold Renderer Support
Nachricht 5 von 5
zenop
als Antwort auf: Stephen.Blair

cheers stephen, thanks for clarifying

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