[PyQt] Help about the use of OpenGL with PyQt

projetmbc projetmbc at club-internet.fr
Sat Apr 4 17:54:46 BST 2009


Jamie Riotto a écrit :
> OpenGL Tutorial:
> http://cs.uccs.edu/~semwal/indexGLTutorial.html 
> <http://cs.uccs.edu/%7Esemwal/indexGLTutorial.html>
>  
> Also NeHe productions does a realy great job breaking down OpenGL into 
> "lessons": My favorite!
> http://nehe.gamedev.net/
>
> Also, since your accessing OpenGL through PyOpenGL, you should look at:
> http://pyopengl.sourceforge.net/documentation/
>  
> for other links and examples. Enjoy - jaime
>  
>
>  
> On Sat, Apr 4, 2009 at 9:35 AM, projetmbc <projetmbc at club-internet.fr 
> <mailto:projetmbc at club-internet.fr>> wrote:
>
>     >>> 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.
>
>
>
>
Thanks for all.  ;-)

Christophe.



More information about the PyQt mailing list