7
\$\begingroup\$

I heard that there was a faster method of displaying vertices, rather than recreating the GL_TRIANGLES, each time the scene is drawn. I thought I read somewhere that this method was obselete. Why would the OpenGL group remove something that was faster? Even if it is obselete, how would I go about implementing this?

\$\endgroup\$
1
  • 4
    \$\begingroup\$ Check out OpenGL VBOs too. \$\endgroup\$
    – House
    Commented Jan 9, 2012 at 23:46

1 Answer 1

8
\$\begingroup\$

The main issue is that OpenGL 3 deprecates immediate mode rendering, which means you can't use glVertexXX etc to draw your triangles. If you aren't using immediate-mode rendering, display lists don't help you get any additional performance.

What you should be using are Vertex Buffer Objects (supported since version 1.5). As with display lists, VBOs allow you not to re-send the entire scene to the GPU every frame, resulting in a huge performance boost.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .