On Mon, Feb 27, 2012 at 3:57 AM, Rui Carmo <[email protected]> wrote:
> On Feb 27, 2012, at 01:54 , Nathan wrote:
>
>> On Tue, Feb 21, 2012 at 2:58 AM, Rui Carmo <[email protected]> wrote:
>>> Hello there,
>>>
>>> I'm curious as to whether there is a simple way to save rendered OpenGL 
>>> frames as images - the idea here is to render simple animations and 
>>> transitions to a sequence of still frames I'll pack into a movie, but all I 
>>> need is to do the off-screen, headless rendering.
>>>
>>> Any ideas?
>>>
>>> R.
>>
>> Perhaps you could repeatedly grab the texture attribute from a Player?
>
> Not what I wanted, sorry. I dug this up from an older posting:
>
>    
> pyglet.image.get_buffer_manager().get_color_buffer().save('screenshot%04d.png'
>  % counter )
>
> This will save a snapshot of t the entire scene, which is what I wanted to 
> make a movie. Coupled with a timer, it does the job quite well.
>
> R.

Ah, I misunderstood.  Glad you found what you were looking for.

~ Nathan

-- 
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