Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: vertex array vs display list

  1. #1
    Junior Member Regular Contributor
    Join Date
    Dec 2002
    Posts
    155

    vertex array vs display list

    if i simply want to draw single textured objects, what is faster ?
    go vegan

  2. #2
    Junior Member Regular Contributor
    Join Date
    Nov 2002
    Location
    Vancouver, BC, Canada
    Posts
    118

    Re: vertex array vs display list

    Depends.

    Why not use VA in your display lists?
    http://www.fl-tw.com/opengl/GeomBench/

  3. #3
    Junior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    205

    Re: vertex array vs display list

    you cant do that because vertex arrays display where ever you put them.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Nov 2002
    Location
    Minnesota, US
    Posts
    187

    Re: vertex array vs display list

    I thought that the vertex arrays are compiled into the display list
    "Programming is an art form that fights back."

    - I forgot who said it!

  5. #5
    Junior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    205

    Re: vertex array vs display list

    no you can find this in the glNewList documentation:

    Certain commands are not compiled into the display list, but are executed immediately, regardless of the display list mode. These commands are glColorPointer, glDeleteLists, glDisableClientState, glEdgeFlagPointer, glEnableClientState, glFeedbackBuffer, glFinish, glFlush, glGenLists, glIndexPointer, glInterleavedArrays, glIsEnabled, glIsList, glNormalPointer, glPopClientAttrib, glPixelStore, glPushClientAttrib, glReadPixels, glRenderMode, glSelectBuffer, glTexCoordPointer, glVertexPointer, and all of the glGet routines.

  6. #6
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: vertex array vs display list

    Vertex arrays are not compiled into a display list, but you can use a vertex array to build a display list. When compiling the display list, the vertex array data is dereferenced and moved into the display list.

  7. #7
    Junior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    205

    Re: vertex array vs display list

    I still think the original question has not been answered and I would like to know myself. What is faster display lists or vertex arrays.

  8. #8

    Re: vertex array vs display list

    depending on how much geometry you draw, display lists are generally faster. however they are static. if you would dynamic geometry and are crunching for speed use compiled vertex arrays.

  9. #9
    Advanced Member Frequent Contributor
    Join Date
    Oct 2001
    Posts
    612

    Re: vertex array vs display list

    It also depends on the card and driver do there is not one direct answer for this, but gererally are DLs faster

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •