[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Using PyOpenGL for 2D graphics
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Using PyOpenGL for 2D graphics
- From: altern <altern2@xxxxxxxxx>
- Date: Sun, 08 Jul 2007 18:22:08 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 08 Jul 2007 12:22:23 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GEFBxKMKZVQb3iw5p6Rc3g0GXwkrKJfOF07IQ7x75OEtb5BTlrh/kvK4O3veRtS78tkNKc8dGD79WEGQyCTFMG3eVdEgmJ5vFF9LVzY6wIN+957KD28ONpxELXbEMfwBnPm1wgz2abKHnE/mBIx80oxuO94nAOn14Up4LtZEeW4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LqtPBLAUFP7JgXdUnueLF2KHEXPWRP7Wumf9WwMpaVrOwrRd79MDj0QJAhCYgI4C4CBqrmOnJN5pvH3qOtRIiuHceOb+AHuSYH1hJ4wXg9lE3CQvy2sbOHyO3lKFdqqpzHB54v+c4PpgN7PecXlABy12YcS6Gd9M1VR7Xp9ymUg=
- In-reply-to: <200707072357.12329.sonicbhoc@xxxxxxxxx>
- References: <200707072357.12329.sonicbhoc@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.4 (X11/20070604)
Charles Joseph Christie II(e)k dio:
So, I'm trying to find a single good newbie tutorial for using PyOpenGL for 2D
graphics. I haven't found a single one yet, although I have found a few that
focus on C++. Some people recommended that I take a look at the NEHE
tutorials that were re-coded in python on the python page, but those only go
from 1 to 10. Does anyone know where I could find a good starting point (it
doesn't have to be a super-noobish tutorial, just something to give me
examples on how to start) for using PyOpenGL in conjunction with Pygame for
making something?
hi charles
you might get some ideas from this basic example. Not very impressive
graphics ;) but it touches some basic concepts of how to deal with 2D in
OpenGL. You could avoid using pygame by using GLUT instead but I think
using pygame is much nicer and flexible.
2D using pyopengl with pygame
https://devel.goto10.org/filedetails.php?repname=ixi&path=%2Fpython%2Fpygame_opengl.py&rev=0&sc=0
and in case you are interested on using GLUT
https://devel.goto10.org/filedetails.php?repname=ixi&path=%2Fpython%2Fglut_opengl.py&rev=0&sc=0
good luck
enrike