flat assembler
Message board for the users of flat assembler.

Index > Windows > vertex buffer objects in opengl

Author
Thread Post new topic Reply to topic
tthsqe



Joined: 20 May 2009
Posts: 767
tthsqe 15 Jan 2011, 22:09
Does anyone have experience using VBO is opengl? The main problem I am experiencing is difficulty in linking the extra functions like glBindBuffer,..ect. Where would I find these if I know that my graphics card supports opengl 3.3?
Post 15 Jan 2011, 22:09
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 796
Location: Massachusetts, USA
bitshifter 16 Jan 2011, 00:37
Extensions my friend, extensions.
Post 16 Jan 2011, 00:37
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 767
tthsqe 20 Jan 2011, 07:30
Ok. So it looks like I have to use glGetString to see if the function is supported, but how do I actually link the function to a program?
Post 20 Jan 2011, 07:30
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 796
Location: Massachusetts, USA
bitshifter 20 Jan 2011, 08:08
Thats the fun part.
If you want your stuff to run on everything, stay away from extensions, otherwise check out SGI's SDK...
http://nehe.gamedev.net/files/glsdk.zip
You will have to make import names for the procs you wish to use...
Tutorial here: http://archive.gamedev.net/reference/programming/features/oglext/page3.asp
Post 20 Jan 2011, 08:08
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 20 Jan 2011, 13:26
Dr. Performance or: How I Learned to Stop Worrying and Love Direct3D.
Post 20 Jan 2011, 13:26
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.