Author Topic: More OpenGL questions. Best ways to handle drawing.  (Read 2293 times)

0 Members and 1 Guest are viewing this topic.

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
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:

Offline stormbringer

  • Time moves by fast, no second chance
  • Amiga 1200
  • ****
  • Posts: 453
  • Karma: 73
    • View Profile
    • www.retro-remakes.net
Re: More OpenGL questions. Best ways to handle drawing.
« Reply #1 on: October 01, 2007 »
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