Hello everyone,
I have a mesh of a tree that has a lot of leaves. For optimising the amount of objects Maya has to deal with, these leaves are combined in a single object. I am trying to assign a random colour to every leaf in the leaf-object.
The problem is that I cannot do that using the default attributes in Arnold Utility Node. As far as I know Maya doesn't have elements as object components like 3ds max. Getting the element ID would provide me enough data to explain Maya how to separate the leaves. However, I could assign a random colour per UV shell (every leaf has a different UV shell). Is there any way that I can sample those UV shells IDs to feed them as data in the Arnold Utility node?
Do you have alternative solutions for this problem?
Replies