On Feb 12, 12:19 am, "Hugo Ruscitti" <[EMAIL PROTECTED]> wrote:
> Hi, i need to get a transition effect with 2 scenes in a
> game with pyglet. Being a SDL/pygame programmer, i don't know
> if my strategy is suitable in pyglet:
>
> I think I need a copy reference to buffer video, blit every game
> object in this buffer an later, when the user change to a new
> scene, show a gradual transition between 2 buffers (one to
> last scene, and other to new scene).
>

Have a look at the docs for glAccum and the OpenGL accumulation
buffer. It should solve your problem quite elegantly.

-Sw.
--~--~---------~--~----~------------~-------~--~----~
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