Hi, I'm new to pyglet. I want to simulate a bunch of balls' movement. These balls are rendered as 12 vertices polygon. Because there are a huge number of balls, almost 1000, I want to draw the balls in one draw call. However, the document said that the behavior of GL_POLYGON in Batch.draw is undefined because of shared state. So how could I optimize my program? Thank you.
-- 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 pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.