I can’t seem to get started with textured quads. Have read about texturing and it seems there is so much infomation about it that I can’t seem to get my foot in the door for a simple example. I’m not interested in 3d … everything in my project is 2d at the moment.
I have been using gldrawpixels to draw many small rectangle png images on the screen (I’m writing an analysis tool so the position of the rectangles is ultra critical) but the tool seems slow and jerky when the user keeps their finger on a key and the screen is rapidly making calls to display() which make several thousand calls to gldrawpixels(). So, I’d like to try textured quads instead.
Also is it possible to have 2 or more images side by side (or on top of each other) on one texture? I believe this would be useful for me, if it could be done (I’d like to have an array of textures, all with different combinations of my original images - and then use a look up table to speed up the drawing process - I’m sure this would help my speed issue).
Any examples, tips or useful links would be much appreciated as I’m struggling at the moment. :’(
Regards,
Sally