473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 3335
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jimmy Johns | last post by:
Hi, why hasn't there a version of pyOpenGL for python 2.3.x yet? Currently the binary installers for windows only work with python 2.2, and will give an when installing for python 2.3. I can't...
3
by: Steven Gutstein | last post by:
This is probably a fairly newbie type problem, but I'm trying to use PyOpenGL, and don't seem to have installed it correctly. I'm running Python 2.3 on a Windows NT machine. Whenever I go into...
9
by: Rick Muller | last post by:
I have a problem that I would like to get some advice on from other Pythonistas. I currently manage a (soon to be) open source project for displaying molecular graphics for a variety of different...
1
by: Kirill Kuvaldin | last post by:
Hello All! My program in python uses PyOpenGL and I need to convert it to a standalone windows executable file. Following to these instructions...
5
by: Sébastien Ramage | last post by:
Bonjour à tous, Dans la folie j'ai installé le nouveau python, impatient de voir les nouveautés mais je pense que j'ai été un peu rapide car j'ai voulu utiliser pyOpenGL et là problème il...
0
by: sweetmelon | last post by:
(I'm a newbie in Python and pyOpenGL.) Environment: WinXP SP2 Python ver. 2.5 WingIDE easy_install is installed PIL, pyNum is installed Download PyOpenGL-3.0.0a5-py2.5.egg run: easy_install...
0
by: shirish | last post by:
Hi all, Is it possible to have Python+Pygame+PyOpenGL in one compact package so people can play the games released at pyweek.org . I have been having a hard time getting the whole thing on windows...
2
by: seb.haase | last post by:
Hi, I am distributing a package with a precompiled collection of modules and packages useful for Python based medical/biological/astronomical image analysis and algorithm development. (Codename:...
0
by: Colin J. Williams | last post by:
I have just installed PyOpenGL and get a series of warning messages: Best match: PyOpenGL 3.0.0b3 Downloading...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.