triangle strips in VBO sprite engine

Nibbie
Posts: 2
Joined: 2009.03
Post: #1
Hi,
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.

Thanks,
Telemachus
Quote this message in a reply
Post Reply