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

Is it possible to convert c++vectors in AiArrays?

1 ANTWORT 1
GELÖST
Antworten
Nachricht 1 von 2
Anonymous
330 Aufrufe, 1 Antwort

Is it possible to convert c++vectors in AiArrays?

I'm actually assuming that you cannot use standard c++ vectors to populate a polymesh node with data, I'm really new to the API, so probably I'm missing something.

If there's no way to do the conversion, what would be the best approach to fill the AiArray?

Tags (1)
Beschriftungen (1)
  • ass
1 ANTWORT 1
Nachricht 2 von 2
Anonymous
als Antwort auf: Anonymous

Nevermind, I've just found the way in the api reference on the AtArray page

https://trac.solidangle.com/arnoldpedia/chrome/site/Arnold-4.0.14.0/doc/api/group__ai__array.html#ga...

Basically you use AiArray() to create small containers on the fly. For greater containers use AiArrayAllocate() or AiArrayConvert()

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