PDA

View Full Version : VBO



Berto
04-06-2012, 09:33 AM
Hello this is my first OpenGL project.

My question is this, on the opengl wiki side about VBO http://www.opengl.org/wiki/Vertex_Buffer_Object
they have a warning saying:
Warning: This article or section describes material that has been deprecated in OpenGL 3.0, and removed in core GL 3.1 and above implementations. It is recommended that you not use this functionality in your programs.

Is it bad to use VBO's and if it is what am I supposed to use to draw?

thanks in advance, Berto.

Alfonse Reinheart
04-06-2012, 10:02 AM
Using buffer objects for vertex data is fine. Using them with `glVertexPointer`, `glNormalPointer`, etc, is what was deprecated and removed.

You can still use them if you're using OpenGL 2.1 and below, or using the compatibility profile of 3.1 and above (http://www.opengl.org/wiki/Core_And_Compatibility_in_Contexts).