PDA

View Full Version : OpenGL and Python



jesuisbenjamin
July 1st, 2010, 10:45 PM
Hello there,

I am interested in learning to work with OpenGL (i'd like to be able to work on desktop environment eg. applets, witgets etc.)
So far i have learnt how to use python only, i also learnt basis of Tkinter.
I have found complete books on OpenGl but it mostly assumes the reader works in C. Do you know of any comprehensive tutorial/book which could help me learn to use OpenGl with Python? (and recent i.e. not NeHe as i have read it's old stuff and not recommended to begin with.)

Thanks.
B.

jesuisbenjamin
July 5th, 2010, 07:12 AM
Hi there,

Anyone knows a pyOpenGL tutorial that's written for Python and that is up to date?

Thanks.
B.

oedipuss
July 5th, 2010, 08:41 PM
Opengl is really not that different in python .
Get a bit familiar with something like pygame to get window creation and input easily out of the way, and just experiment with the C tutorials.

Usually the only difference is that some calls are a bit more 'pythonic' .
This (http://pyopengl.sourceforge.net/documentation/manual/) should help identifying such differences.

jesuisbenjamin
July 6th, 2010, 05:20 PM
OK thanks! imma try with that.

matmatmat
July 6th, 2010, 05:48 PM
this (http://www.amazon.co.uk/Beginning-Game-Development-Python-Pygame/dp/1590598725/ref=sr_1_1?ie=UTF8&s=books&qid=1278434877&sr=1-1) book has 3 chapters on PyOpenGL