473,372 Members | 884 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,372 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 3333
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.