On Mon, Feb 9, 2009 at 4:18 PM, Alex Holkner <[email protected]> wrote: > > This is basically an alternative opinion to Tristam's -- I haven't > measured the performance difference. It's my understanding that > whether you use vertex arrays or immediate mode (glVertex3f, etc) > should make no difference once the display list is compiled (of > course, it will take longer to specify the vertex data while compiling > the display list, but we usually don't care about load times much).
This is true if a) your driver correctly optimises display lists, and b) if you specify *exactly* the same components per vertex - skip even a single normal, and your driver will typically fall back to immediate mode. Also, display lists don't generally store their elements in video memory unless you source their elements from a VBO, so the data goes across the bus every frame. -- Tristam MacDonald http://swiftcoder.wordpress.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
