Category: 

What Is an OpenGL® VBO?

Article Details
  • Written By: Eugene P.
  • Edited By: Angela B.
  • Last Modified Date: 06 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
The atmosphere of Jupiter's moon Io collapses every time it is eclipsed by the planet.   more...

September 29 ,  2008 :  The Dow Jones Industrial Average experienced its largest one-day drop in history.  more...

When using the Open Graphics Library® (OpenGL®) computer graphics libraries for computer programming, a vertex buffer object (VBO) is a data structure that allows a three-dimensional (3D) object to be constructed and stored in the memory of the graphics card or graphics hardware. This allows an OpenGL® VBO to be rendered very quickly and to use far fewer system resources than other techniques that use immediate mode drawing. In addition to the gains in speed and the reduction in graphics overhead, an OpenGL® VBO also is a dynamic data structure — unlike an OpenGL® display list — that can be changed once it is in memory. The concept of an OpenGL® VBO actually started with hardware manufacturers who originally included — under different names — a similar type of functionality as an extension of the OpenGL® libraries that later was standardized by the OpenGL® Architecture Review Board (ARB).

An OpenGL® VBO basically is a combination of two other types of OpenGL® data structures. It encompasses the basic functionality of a vertex array, because the information for the geometry — including the vertex coordinates, normals, and color — can all be stored in a structured array that can be passed to OpenGL® for processing. Unlike a vertex array, however, an OpenGL® VBO is stored on the server side of the renderer and does not need to constantly access the client side for the vertex information.

Ad

By allowing the VBO to be stored in graphics memory, it also takes on some of the properties of a display list. The major difference is that an OpenGL® VBO can be modified and a display list cannot. Additionally, the VBO is not necessarily copied into the graphics memory as a display list would be, so only one data structure needs to be present in memory.

When an OpenGL® VBO is finally rendered, the distance from the graphics memory in which it is stored and the graphics processing unit (GPU) is very small, allowing for very fast rasterization without the need to move through slower system hardware first. In some instances, however, the use of VBOs is not supported by graphics card hardware. This can lead to programming problems that remove any added benefits from using a VBO, or a program that will be incompatible with some graphics cards.

There are some methods that can help to optimize how an OpenGL® VBO is treated when used. One of these is to provide hints to the graphics card, or to OpenGL®, to help determine where the VBO should be located in memory. Depending on the hints provided, the VBO can be stored directly in graphics memory on the graphics card, or might be stored in the main random access memory (RAM) of the system, if deemed necessary.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}