By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,400 Members | 903 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,400 IT Pros & Developers. It's quick & easy.

Call for advice on how to start PyOpenGL!

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.