I am messing about learning python, and pyglet , and game development. 

I am writing a simple game, where I want to draw many small polygons on the 
screen. If I draw each one separately, using a vertex_list for each one, 
and then using vertex_list.draw, they display fine.
If I use batch.add instead, and draw the batch with batch.draw, all the 
polygons bleed , like they consider all the points in all the vertex lists 
as part of one object, lines go from one polygon to another, or many 
others, and get filled with the colour of the polygon, so you just end up 
with a big colourful mess on the screen


Have I misunderstood what batching does? I assumed it would still treat 
each vertex list as a separate "object" and draw them similar to how it 
works when I draw each vertex list individually.

thanks for any help

-- 
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/d/optout.

Reply via email to