• Welcome to Dark Bit Factory & Gravity.
 

More OpenGL questions. Best ways to handle drawing.

Started by Pixel_Outlaw, October 01, 2007

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Pixel_Outlaw

Question 1
I was wondering about the use of drawing lists.

First what would be the fasest way to draw hundreds of quads with a single texture in various sizes.
-Dynamically
-Gl Lists
-Gl Arrays

Also when drawing these quads dynamically is it better to use scaling to resize the borders or is it just faster to use dynamic variables?

Challenge Trophies Won:

stormbringer

vertex arrays are very fast (and made for that purpose actually).

display lists are an old mechanism.

also if you use a single texture, just bind the texture once, then simply draw multiple quads. Geometry is very fast, texture binding slows it down. So minimize texture binding as much as you can
We once had a passion
It all seemed so right
So young and so eager
No end in sight
But now we are prisoners
In our own hearts
Nothing seems real
It's all torn apart