Retrieving data from display lists

I was wondering if it’s possible to retrieve vertex data from an OpenGL display list ID after the list is created. Can I access that data in any form?

Thanks a bunch

Generally: No.
Display lists are server state and will be optimized by the display driver to something different than you sent. E.g. immediate mode in, vertex arrays out.

“In any form”: Maybe. :wink:
You might be able to get the data back with the OpenGL feedback mode (pure SW, slow!!!) or with an OpenGL command trace tool, but I guess that’s not what you wanted.

Simply don’t go there. Use Vertex Buffer Objects if you need a more dynamic way of geometry data handling.

Thanks a lot.