Thanks, I'll try that and see how it works out. Regards, Gertwin
Op woensdag 15 januari 2014 01:14:57 UTC+1 schreef Greg Ewing: > > Gertwin Groen wrote: > > My problem is implementing the rubber band on mouse movements. > > I tried to use the front buffer > > "pyglet.gl.glDrawBuffer(pyglet.gl.GL_FRONT)", but that caused a lot of > > flicker. > > Using "pyglet.gl.glLogicOp(pyglet.gl.GL_XOR)" I did not managed to get > > it working. > > I wouldn't bother trying to do anything clever -- just > redraw the entire scene, including the rubber band, every > time the mouse moves. Machines are fast enough these days > that this is usually fine. > > -- > Greg > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
