triangle strips in VBO sprite engine - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: triangle strips in VBO sprite engine (/thread-1572.html)
triangle strips in VBO sprite engine - Telemachus - Mar 22, 2009 05:50 PM
I'm trying to write a fast sprite engine using vertex buffer objects. The problem is that when I draw multiple sprites, they are all connected. Additional polygons appear between consecutive sprites. I'm assuming this is because I'm using triangle strips.
Should I change my code to use triangles, or is there another way of doing it?
I have read something about using degenerate triangles to split a tri-strip (on this thread here), but is this overkill for a sprite engine?
I'm still a beginner with opengl (and Macs to be honest), and I'd appreciate any advice.