Sprites

Hi, I’m going to be creating some sprites using OGL, I was just wondering if someone could help me on the best way to do it? I hear just creating a QUAD and texturing the QUAD is the best way? is this true? Thanks!

Yes.

thnx! :slight_smile:

if your sprites are small, you could look into point-sprites extension, which would be the fastest way of generating many sprites.
however you cannot rotate them individiually, and they are limited in size (e.g. 64 pixel square, but this depends on the graphics card zou have). Also the range attenuation (the further away the smaller…) is a bit ugly to setup.

here is a pointsprite example

http://www.codesampler.com/oglsrc/oglsrc_6.htm