Archived

This topic is now archived and is closed to further replies.

koom

Display lists, transformations, speed..

Recommended Posts

koom    122
Hello all OpenGL gurus! Im now developing a user interface for one game and I have a small question: When I need to draw a few quads, for example button on chracter in text, will it be faster to use a displaylist (for one textured quad) and set a matrice for it or go straith with glVertex etc and wait whether will OpenGL ommit the transformation stage and gain some speed? And vertex arrays? Too many too stupid questions, thank you for your patience regards Jindrich Kolman

Share this post


Link to post
Share on other sites
ironfroggy    122
Basically, if you''re doing it more than two or three, you should make a display list. At least, thats my rule. For characters, you should make an array or display lists and then you can do array[ch] to print that char. Make a function that keeps track of a text cursor and prints the characters to the right places.

Share this post


Link to post
Share on other sites