Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

share|improve this question
4  
Check out OpenGL VBOs too. –  Byte56 Jan 9 '12 at 23:46

1 Answer 1

up vote 8 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.