Hi

You can use a frame buffer (look for FBO in this mailing list and
you'll get some code).

On Sat, Nov 14, 2009 at 1:29 PM, mayasky <[email protected]> wrote:
>
> I want to draw a scene and successively add lines to it. But pyglet
> keeps updating and clearing everything :( , so all I get is blinks of
> a single line...
>
> from pyglet.gl import *
>
> window=pyglet.window.Window()
>
> def drawline():
>    ...
>
> @window.event
> def on_draw():
>    drawline()
>
> pyglet.app.run()
>
> what should I do? thanks。
>
> >
>

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