Hello everyone, I create script utils for use OpenGl in the viewport without node. This script Add, edit or remove shape with easy way. But for this moment I use old shcool method for add shape in OpenGl and is heavy for complex shape.
I know this method in C++ glVertexPointer(3, GL_FLOAT, 0, v_triangles); glTexCoordPointer(2, GL_FLOAT, 0, vt_triangles); glNormalPointer(GL_FLOAT, 0, vn_triangles); glDrawArrays(GL_TRIANGLES, 0, 360); but don't works with python.... If I give an array I have error with GLVoid* I try to use MScriptUtils doublePtr for give double array pointer. With that I don't have this error but nothing is drawing... Someone would have a solution ? -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5d714533-a218-492e-8081-748d14d354cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
