fruit...@gmail.com
unread,Dec 21, 2017, 4:10:02 PM12/21/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Python Programming for Autodesk Maya
Hi guys,
while working on a new MPxLocatorNode, I was wondering something :
how could I implement the drawingOverride (and more specifically the overrideColor) to my openGL drawing ? Since drawingOverride is inherited by the MPxLocatorNode class, we might have some handles inside the node, no ?
What I'm usually doing for that is querying the colorOverride value (an int from 0 to 31), and based on that, I pick the corresponding rgb value in an predefined array, then I feed my glColor with that... this looks pretty cumbersome.. is there a way to get the rgb value automatically, from maya directly ?
Thank you =]