This demo is based on both following tutorials:
The demo shows the use of Vertex Buffer Objects for an ultra-fast rendering of polygonal meshes.
The VBOs are used in GL_STATIC_DRAW mode and the box deformation is performed by a GLSL shader.
For the sake of comparison, the demo is shipped in two versions: one using VBOs (XPGL_Demo_vbo.exe) and the other
using regular Vertex Arrays (XPGL_Demo_va.exe).
The following table shows us the difference of performance between VBO and Vertex Arrays (VA):
Graphic Card | XPGL_Demo_vbo.exe | XPGL_Demo_va.exe |
ATI X1950XTX | 760 fps | 145 fps |
The demo uses a small library especially developped for my OpenGL experimentation needs: XPGL (eXPerimental Graphics Library)
.
2 - Downloads
|
XPGL - Mesh Twister - OpenGL / VBO / GLSL - Visual C++ 6.0 Project - (1105k)
Last Update: 11 Octobre 2006
|