salvati.marc
Hello,
I am currently fighting with Maya API to sample texture from an input color attribute.
I basically tried to use the setRenderSource attribute, and it works well... until i got issues with it and i think i run into some Maya bugs...
Having a look at SOuP, I discovered the textureToArray node, and it seems to be able to do what i want to do. From what i saw it seems to rely on a mesh and the color attributes, but I could not understand how this is done at the API level.
Is it possible to get some insight on how you succeeded to sample color attributes through the API?
Bet regards
Reply 0 0
pshipkov
sure, check the MDynamicsUtil and MRenderUtil classes.
Reply 0 0
Reply