Results 1 to 2 of 2

Thread: va&display lists?

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

    va&display lists?

    If I turn the following vertex array drawing into a display list:
    draw(){
    foreach()
    {
    glEnableClientState()
    glVertexPointer()
    }
    glDrawElements()
    foreach()
    glDisableClientState()
    }

    I can then just call the display list and forget about anything to do with vertex array completely, right?
    Infact I could free the memory because OpenGL makes a copy of the data in the display lists, right?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: va&display lists?

    Yes, that is correct.

Similar Threads

  1. cg & display lists
    By nib in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 11-04-2006, 07:22 PM
  2. Display Lists
    By azcoder in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-01-2002, 06:42 AM
  3. display lists inside display lists...
    By architekt in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-22-2002, 08:55 PM
  4. Display Lists
    By Robin Forster in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-14-2001, 06:11 PM
  5. display lists
    By frogger in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 07-27-2000, 10:03 AM

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