[solved] QuickItem custom drawing: multiple colors
It seems each node in a subclassed QQuickItem must have a single uniform color over all drawing in that node. This contrasts with a single OpenGL call where you can specify different colors for each vertex you send. I know I can use multiple nodes, but that's a problem if you have quite a variety of colors that are changing often. Is there a way to send colors per-vertex when you setup the geometry for a QQuickItem rather than just have the material/color for the entire geometry be constant?
I have since found that this class supports other types of attributes than the simple flatcolor material, so I believe this is resolved.
Thanks for reporting back to us of the status.
Please add [solved] to the topic so everyone can see that this problem is solved. You can do that by editing your first post.