Game Development Community

How to add VBO to TGE?

by Skanda · in Torque Game Engine · 02/27/2006 (5:59 am) · 5 replies

Could anyone give me some advice or example's code?

Thanks very much!

#1
02/27/2006 (5:59 am)
...What is VBO and what do you want to use it for?
#2
02/27/2006 (6:02 am)
OpenGL vertex_buffer_object.

http://tdn.garagegames.com/wiki/AddingOpenGLExtensions
Adding OpenGL Extensions to TGE

I learned from this article,and follow it's steps,but may be it's has some problems.
#3
02/27/2006 (6:28 am)
I converted the interior renderer to use VBO and saw zero performance gain... I did run out of time and it's possible that I missed something crucial once I actually had them in a shared VBO...
#4
02/28/2006 (12:54 am)
Josh Ritter,
Could you tell me what is the way that you add VBO to TGE?
#5
02/28/2006 (1:17 am)
I would suggest looking at the vertex buffer extensions already present on torque (used in the opengl2d3d wrapper), and replace those calls to use a different extension, like the ARB vbo extention.
(Assuming that the D3D vertex buffer wrapper and the ARB vertex buffer function similarly)