Results 1 to 4 of 4

Thread: OpenGL equivalent of Vertex Buffers

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Arlington, TX
    Posts
    6

    OpenGL equivalent of Vertex Buffers

    What's the best way to simulate a Direct3D vertex buffer in OpenGL? Should I be using vertex arrays (compiled?) or display lists? I'm trying to write OpenGL code for a game we're working on, but the speed isn't quite where it should be.

    Thanks,
    marcdepeo@hotmail.com

  2. #2
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    26

    Re: OpenGL equivalent of Vertex Buffers

    i think you should look at compiled vertex arrays. (disclaimer: i am still rather new at this so i might be wrong :P)

    [This message has been edited by owcs (edited 08-06-2002).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Princeton, NJ
    Posts
    380

    Re: OpenGL equivalent of Vertex Buffers

    Probably your best bet is to look at VAR(nVidia) and VAO (ATI), I believe these two extensions offer the greatest speed.

  4. #4
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    tulsa
    Posts
    2

    Re: OpenGL equivalent of Vertex Buffers

    check out glInterleavedArrays and glDrawElements

Similar Threads

  1. how to bind two vertex buffers to vertex shader input, as in DirectX
    By saman_artorious in forum OpenGL: Basic Coding
    Replies: 14
    Last Post: 07-01-2013, 10:35 PM
  2. Vertex arrays and buffers in OpenGL 3/4
    By imported_JoshKlint in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 09-19-2010, 10:50 AM
  3. GLSL vertex shader code to do glTexGen() equivalent?
    By Jon Mc Jon in forum OpenGL: GLSL
    Replies: 6
    Last Post: 11-09-2006, 09:19 PM
  4. vertex-buffers and vertex-program
    By close2 in forum OpenGL: GLSL
    Replies: 4
    Last Post: 02-11-2004, 09:59 AM
  5. Vertex Buffers and render/texture Buffers
    By schelter in forum OpenGL: General
    Replies: 4
    Last Post: 02-03-2002, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean