>>> Your problem is with your OpenGL syntax. Simply change GL.GL_QUADS (which draw quadrilaterals) with GL.GL_TRIANGLES (self evident). Also, it would be better to move those declarations into your triangle routine as follows

Thanks and sorry for this simple problem but I'm a real newbie with OpenGL.

Where can I find documentations showing what kind of objects I can draw with OpenGL ?

Best regards and thanks a lot.



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to