472,119 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Call for advice on how to start PyOpenGL!

I work with python for two years, are familiar with image processing,
but beginner on PyOpenGL and OpenGL.

Any advice appreciated!

Aug 20 '07 #1
4 3263
math2life wrote:
I work with python for two years, are familiar with image processing,
but beginner on PyOpenGL and OpenGL.

Any advice appreciated!
You should check out the pyweek (http://www.pyweek.org/). There you find
pygame & OpenGL-based games, of a comprehensible size.

Diez
Aug 20 '07 #2
Diez B. Roggisch wrote:
math2life wrote:
>I work with python for two years, are familiar with image processing,
but beginner on PyOpenGL and OpenGL.

Any advice appreciated!

You should check out the pyweek (http://www.pyweek.org/). There you find
pygame & OpenGL-based games, of a comprehensible size.
Also, there's plenty of good opengl tutorials on the web. They all translate
pretty easily into Python if they're not in Python already. For example:

http://nehe.gamedev.net

I highly recommend pyweek as a way of focusing on your learning task :)
Richard

Aug 20 '07 #3
math2life wrote:
I work with python for two years, are familiar with image processing,
but beginner on PyOpenGL and OpenGL.

Any advice appreciated!
As has been mentioned, the NeHe tutorials[1] are a good starting point.
There are (multiple) translations of the first 8 or so and then some
cherry-picked translations further along the set. There is a set of
OpenGL demo/sample code available[2] as a separate download from the 3.x
series (these files are mostly included in the 2.x series, though there
is new material in the 3.x set). OpenGLContext also has a large number
of simple samples, though I've still got "release OpenGLContext" on my
seemingly infinitely long and growing todo list, so that might not be
the easiest way to start.

The "Red Book" is an older standard manual for getting started with (C)
OpenGL code, often you can find older editions online for free. There
are hundreds of C tutorials hanging around the net that normally
translate easily into Python/PyOpenGL. The PyOpenGL manual pages *try*
to have links to source code, but unfortunately the (java, ick!) based
system that generates the base files has been broken for a while and I
haven't had time to fix it properly so I can re-run the generator to
update the links. In the meantime, Google's code search helps a lot
when you restrict to Python code.[3]

HTH,
Mike

[1] http://nehe.gamedev.net
[2]
http://sourceforge.net/project/showf...kage_id=221827
[3] http://www.google.com/codesearch?q=lang%3Apython

--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com

Aug 20 '07 #4
On Aug 20, 1:53 am, math2life <QJing...@gmail.comwrote:
I work with python for two years, are familiar with image processing,
but beginner on PyOpenGL and OpenGL.

Any advice appreciated!
Here's a little "hello world" PyOpenGL program I had lying around that
might be useful:

http://www.milliwatt-software.com/jm...gl_template.py

---John

Aug 21 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jimmy Johns | last post: by
3 posts views Thread by Steven Gutstein | last post: by
1 post views Thread by Kirill Kuvaldin | last post: by
5 posts views Thread by Sébastien Ramage | last post: by
reply views Thread by sweetmelon | last post: by
reply views Thread by shirish | last post: by
2 posts views Thread by seb.haase | last post: by
reply views Thread by Colin J. Williams | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.