Cheps
10-25-2005, 10:00 PM
Hello,
I'm wondering if I should use vertex arrays or display lists in my application to have best performances. I must mostly display models I load from .obj files. It's working already with display lists, but I'm wondering if vertex arrays could make it faster?
Main problem I have is the triangles are all messed up in my .obj file, so I'd have to build triangles strip which could be tricky. Also, I'm pretty sure each model can't be represented with just a triangle strip so I'd have to make several smaller triangle strips.
I believe that if I don't care about memory at all, display list is never slower as everything is stored on the graphic card, is it right? And since my models are static, I only send them once at the beginning.
But I keep hearing about vertex arrays everywhere, and I'v never seen a real comparaison with display lists.
Any hint is welcome ;)
I'm wondering if I should use vertex arrays or display lists in my application to have best performances. I must mostly display models I load from .obj files. It's working already with display lists, but I'm wondering if vertex arrays could make it faster?
Main problem I have is the triangles are all messed up in my .obj file, so I'd have to build triangles strip which could be tricky. Also, I'm pretty sure each model can't be represented with just a triangle strip so I'd have to make several smaller triangle strips.
I believe that if I don't care about memory at all, display list is never slower as everything is stored on the graphic card, is it right? And since my models are static, I only send them once at the beginning.
But I keep hearing about vertex arrays everywhere, and I'v never seen a real comparaison with display lists.
Any hint is welcome ;)