Jump to content
  • Advertisement
Sign in to follow this  
Kwizatz

OLD Vertex Buffer Extension Documentation?

This topic is 4317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am currently modding the Torque engine, and discovered that they used an OLD, aparently undocumented vertex buffer extension, I am trying to bring the code up to date and converting from this extension to ARB_vertex_buffer_object, however althought not quite cryptic, the old extension is different in parts, and it would really help me if I could get my hands on the extension documentation. I tried google, with no luck (seems like there is a project in sourceforge that uses the extension but nothing more), anyway, here are the functions I am looking documentation for: glAvailableVertexBufferEXT glAllocateVertexBufferEXT glLockVertexBufferEXT glUnlockVertexBufferEXT glSetVertexBufferEXT glOffsetVertexBufferEXT glFillVertexBufferEXT glFreeVertexBufferEXT Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
glLockVertexBufferEXT
glUnlockVertexBufferEXT

GL_EXT_compiled_vertex_array This extension is infamously known to have been used in some ID Software game, but never finalized. So you often see some vertex array code pepperred whith this extension.

Quote:

glAvailableVertexBufferEXT
glAllocateVertexBufferEXT
glSetVertexBufferEXT
glOffsetVertexBufferEXT
glFillVertexBufferEXT
glFreeVertexBufferEXT


I've got no idea where this EXT extension could be described. It looks like some alternate vertex array style API.

I can guess you can translate:
glAvailableVertexBufferEXT => glIsBufferARB
glAllocateVertexBufferEXT => glGenBuffersARB
glFillVertexBufferEXT => glBufferDataARB
glFreeVertexBufferEXT => glDeleteBuffersARB

Share this post


Link to post
Share on other sites
Quote:
Original post by Zongo
Quote:
glLockVertexBufferEXT
glUnlockVertexBufferEXT

GL_EXT_compiled_vertex_array This extension is infamously known to have been used in some ID Software game, but never finalized. So you often see some vertex array code pepperred whith this extension.
This isn't CVA. If you actually click through to your link, you'll observe that the functions CVA introduces are LockArraysEXT and UnlockArraysEXT.

Share this post


Link to post
Share on other sites
Thanks, I'll look it up, I cross posted to the GG forums and apparently the extension is implemented on the OpenGL to D3D renderer, which I believe has its roots on ID Software. Seems like the name of the extension (not sure if official) is EXT_vertex_buffer.

Share this post


Link to post
Share on other sites
Quote:
Original post by Zongo
I've got no idea where this EXT extension could be described. It looks like some alternate vertex array style API.

I can guess you can translate:
glAvailableVertexBufferEXT => glIsBufferARB
glAllocateVertexBufferEXT => glGenBuffersARB
glFillVertexBufferEXT => glBufferDataARB
glFreeVertexBufferEXT => glDeleteBuffersARB


Thats losely what I am doing except glAvailableVertexBufferEXT purpose is to tell if there is space in memory left for a buffer, something ARB_vertex_buffer_object doesn't require.

Share this post


Link to post
Share on other sites
Quote:
Original post by Promit
This isn't CVA. If you actually click through to your link, you'll observe that the functions CVA introduces are LockArraysEXT and UnlockArraysEXT.


My bad. I thought I recognized these two calls but you're right, it's not CVA and probably all the functions come from one extension not referenced in the OpenGL registry.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!