View Full Version : filling display lists
04-09-2001, 07: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, 12:17 PM
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, 06: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, 12:29 PM
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, 12:47 PM
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.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.