Fastest way to draw point sprites

Hello community,

I’d like to know what is the fastest way to render point sprites? I use
a simple for() loop and gl::drawBillboard() but my program slows down
with 250 points.

Maybe by using VBO?

Any help appreciated,
azerty69

Here’s an old gist of mine that shows a way to go about doing variable sized textured point sprites that might be helpful.

Hi Lithium,

Thank you for your code. I’ve read it carefully and learned precious things. My problem is solved.
Now I draw 1000 point sprites without any frame rate loss. It is enough for my scene.

Thans again,
azerty69

1 Like