[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] PyGame / PyOpenGL Example
- To: pygame-users@xxxxxxxx
 
- Subject: [pygame] PyGame / PyOpenGL Example
 
- From: fragged <my.old.email.sucked@xxxxxxxxx>
 
- Date: Tue, 12 Feb 2008 23:23:49 +1030
 
- Delivered-to: archiver@xxxxxxxx
 
- Delivered-to: pygame-users-outgoing@xxxxxxxx
 
- Delivered-to: pygame-users@xxxxxxxx
 
- Delivery-date: Tue, 12 Feb 2008 07:54:07 -0500
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding;        bh=7h0BbAufTC+OcaiCSMYcAcWYeQUF7+q6r3XyPE+wo4o=;        b=pwbflugO4o6BSwkVi83V7eFh7lli41MqPsAqiCjkQAx8D1hLHQsqNsC8+IslYvAfUOAx7rRYZpn272Wq573x0bb8i3aWNKNMBvlfNoBlIdo941hN9vsf9cfa8zXcYwt8EZvta3M59RDRjaB3kIZfKASI0QkQz4qatJpywliZ1yM=
 
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding;        b=Vuvj24TNT0JINynrHXEb/U2CfF3FQ5B1qKeUouBGTuxnxPzOk4ef9ikOaz+/YEDFJLLugEBWfay+SlKqrziIpth6kIjiq6g1g4B73/pQfMMdjh4QxvG4cpGxDwu4AVVk6xd2BxBwrl7jEK9DSqeVsTebA65Ds+hbUwOX98bSU9g=
 
- Reply-to: pygame-users@xxxxxxxx
 
- Sender: owner-pygame-users@xxxxxxxx
 
- User-agent: Thunderbird 2.0.0.6 (X11/20071008)
 
Hey guys,
I've been searching for some decent examples of PyOpenGL to help me port 
my current application to OpenGL to speed things up on my perty new 
1920x1200 LCD (Getting about 20fps, using no acceleration whatsoever), 
however I've been unable to find any decent guides on the net that 
simply show me how to do the equivalent of loading an image and some 
text - the small fragments I have found have still been using PyGame to 
render text and this seems to break on my gentoo system whilist working 
on another and I'm not really sure if this is the /propper/ way to do it.
would somebody have one of these laying about, know of one or be able to 
hack one up for me? It'd be a great help and I'd also love to see it go 
in the examples directory on PyGame.org as there seems to be very few 
extreme beguinners guides.
Oh, and if your looking at 20fps on that resolution thinking that it is 
something else your probbably right. Although there is 
pygame.update.rect() or whatever I'd much prefer something that is 
accelerated both for my understanding of computers and that smooth 60fps 
that I'd be getting :D
Cheers
Fragged aka Colin