thank you. I have a more general question. I started checking pyglet few days ago. There are many things I like. But it seems that we have to use stuff on the GL layer very often. 2 questions over 3 ended with solution based on import pyglet.gl.*
is it a design choice, "using pyglet, we have to dive in pyglet.gl.* often". or is it because pyglet is still quite young, and the API will cover more in the future. so we can manipulate python object, without openGL knowledge. On Feb 16, 5:21 pm, Tristam MacDonald <[email protected]> wrote: > On Tue, Feb 16, 2010 at 10:36 AM, Philippe <[email protected]> wrote: > > it's possible to apply different scissor_test to different group of > > sprites ? > > As long as you render each group separately, yes. > > In pyglet, the best way to implement this would probably be a 'ScissorGroup' > (much like OrderedGoup), which handles setting and unsetting the scissor > rectangle. if I recall correctly, there might already be a ScissorGroup > hidden away somewhere in the text rendering implementation... > > -- > Tristam MacDonaldhttp://swiftcoder.wordpress.com/ -- 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.
