04-27-2002, 02:11 AM
Hi
I've been reading the NVIDIA OpenGL performance FAQ and have a question on the importance of vertex arrays.
If my polygons are organized as tri/quad strips and I use display lists will it matter if I use vertex arrays to supply my vertices or not within the list. More precise, will the below lists be equally fast when rendered?
glNewList(..)
glBegin(...STRIP)
glVertex3v(..)
glVertex3v(..)
for(...)
glVertex3v(..)
glEnd()
glEndList(..)
glNewList(..)
glVertexPointer(...)
glDrawElements(...STRIP,...)
glEndList(..)
Thanx
/Peter
I've been reading the NVIDIA OpenGL performance FAQ and have a question on the importance of vertex arrays.
If my polygons are organized as tri/quad strips and I use display lists will it matter if I use vertex arrays to supply my vertices or not within the list. More precise, will the below lists be equally fast when rendered?
glNewList(..)
glBegin(...STRIP)
glVertex3v(..)
glVertex3v(..)
for(...)
glVertex3v(..)
glEnd()
glEndList(..)
glNewList(..)
glVertexPointer(...)
glDrawElements(...STRIP,...)
glEndList(..)
Thanx
/Peter