Slow Displaylist creation?

Hello, it’s me again ;D

I have a little problem with displaylists. I am trying to display a digital terrain model, it wasn’t very fast (1-3 seconds per frame), so I decided to optimize the display methods with a displaylist. Now my problem is: the normal rendering lasts about 1-3 seconds per frame, but the creation of the displaylist up to 10-15 seconds…why ???
I just surrounded the creation of the frame with my glNewList()…glEndList() calls and the display refresh rate is now much better…only the initialization of the display list ist damn slow.

And a second question: is there any possibility to use culling with displaylists? I had a little, primitive culling algorithm and when I zoomed in, the refresh rate was much better…but refresh rate with displaylist is always the same, because I can’t use my culling algorithm with the displaylist…or can I? Or is it just possible by creating different displaylists intersecting my model and then only drawing the displaylists which are currently in focus? How much displaylists are maximum allowable?

Hi,

It’s normal that the creation of the lists is slower that the drawning of them once they are “compiled”.
If you have performance issues I would suggest to forget about using display lists and go for vertex arrays(GL 1.2 or 1.3) or VBO’s (GL 1.5) which are far better…