View Full Version : filling display lists
04-09-2001, 06:56 AM
when creating a display list that is going to be compiled, do I have to worry about what commands I use to put the data in to the display lists?
what I mean is, is there any performance difference between using something like a vertex array, or anything else, to using to just declaring the indiviual vertices by calling glVertex for each vertex.
Could somebody please let me knwo the most optimal way to fill a display list.
04-09-2001, 11:17 AM
I think that when you use a display list, the normal methods of speading rendering up don't apply. For example, I think that vertex arrays don't add to performance. Anyone know if things like using triangle strips vs. triangles matters?
04-10-2001, 05:06 AM
Yes, triangle strips and fans increase performance because you are not resubmitting the same vertex data over and over again for each triangle.
04-10-2001, 11:29 AM
I know they do out of display lists, but I thought that display lists, since they were compiled (pre-proscessed) it would make those improvements almost nill...
04-10-2001, 11:47 AM
The data format might be optimized, and as the method of transfering data over to the gpu/driver is taken care of, then it dont matter weather you use glBegin,glEnd / glDrawElements / VAR or what.
Primitive type is probably NOT optimized. So when using a display list, it's still better to use Tri strips than normals triangles.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.