On Dec 8, 2007 11:01 AM, Andre Roberge <[EMAIL PROTECTED]> wrote:
>
> On Dec 7, 2007 7:57 PM, Nathan <[EMAIL PROTECTED]> wrote:
>
> >  If pyglet were a public
> > company, I'd buy stock.  :-)
> >
> Me too!!!

Ok, you guys know that there isn't a business case in pyglet, right? :-)

On the image.blit suggestions: the alpha blend mode is a global OpenGL
state, not a texture parameter, so it doesn't make a lot of sense to
specify it during loading.  It could easily be added as a parameter to
the blit method, however.  Rotation could also be added as a parameter
to blit.

One problem with adding alpha/rotation to blit is that they would only
be applicable when blitting images to a framebuffer; however the same
blit method can currently be used between (almost) any two images
(framebuffer, texture, image data).

I should also point out that the blit method isn't really a high level
interface, so much as a convenient method to use while the "real" high
level interfaces are developed (see for example Richard's sprite
work).  Besides being limited in its use, it's also extremely
inefficient compared to what's possible with a more game-oriented
design.

The goals of this 1.0 release are to abstract away the platform and
ctypes issues -- most of the higher-level ideas that require only
straight Python code were pushed back for future versions.  Some of
these ideas exist in the experimental and contrib folders of the SVN
repository; others are just design outlines in mine and Richard's
heads :-)

Cheers
Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to