On Wed, Oct 15, 2008 at 8:13 PM, josch <[EMAIL PROTECTED]> wrote:
>
> On Oct 14, 8:29 am, "Alex Holkner" <[EMAIL PROTECTED]> wrote:
>> Yep.  The fixed_resolution.py example demonstrates this (albeit with
>> filtering deliberately disabled).  There are also faster paths for
>> newer hardware using framebuffer objects (AFAIK cocos2d has an
>> implementation of this that you could use/borrow).
>>
>> Alex.
>
> i dont need anything fancy that some hardware does not understand
> since i only need it for a fraction of a second zoom animation that is
> seldom used.
> pyglet.image.get_buffer_manager() returns the whole OpenGL context -
> is there an example how i only get that of my batch or do i need an
> additional buffer for that?

Simply grab the framebuffer image after drawing just the batch and
before drawing anything else.  If you need to, you can then clear the
framebuffer and draw the complete scene using that captured image as a
texture.

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