PDA

View Full Version : To display list or not to display list



funk
05-19-2001, 08:49 AM
Speaking generally, do the display lists increase the performance on modern display cards or do they not?

Let's say that we have implemented the following algorithm:




while (i < numberOfVertices)
{
//build a triangle
for (int j=0; j<3; j++) {
makeSomeCalculations();
newVertexHere();
i++;
}
}


Putting this to a display list may theoretically increase the performance, right? But does it?

And what if we have to constantly modify the vertices? Is it better not to use the lists then?

Thank you



[This message has been edited by funk (edited 05-19-2001).]

Nutty
05-19-2001, 10:18 AM
I would not consider using display lists for dynamic vertices.

Nutty

ET3D
05-19-2001, 12:54 PM
I think that the general concensus is that display lists are good for static geometry.

Tim Stirling
05-20-2001, 12:54 AM
Displays lists usualy give the most performance gain and a certianly easy to use but you have to have static geomtry (dynamic geometry can be handled seperately). It depends on the data, sometimes CVAs are better. However I find all this highly dependent on the GFX card and the drivers. The best way is to make a small test program.