Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Are display lists slower in this case?

This topic is 6774 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m currently writing a visualization plug-in for Winamp...thanks to the incrediable tutorials on this site. I''m trying to optimize my code to run faster. The basic idea is that I have to draw about 2880 "squares" each frame that are each texture mapped (all have the same texture). These squares are not part of one connected model. My question is whether or not a display list with a precompiled textured square is faster. If I used display lists that means I would have call glTranslate 2880 times each frame to put the squares in place. Is glTranslate less expensive then making a square out of GL_TRIANGLE_STRIP? btw, I think a OpenGL optimization tutorial would also be interesting...it''s a vague topic but some direction would really help us newbies. thanks, Mike

Share this post

Link to post
Share on other sites
I just found this FAQ the other day.


It has helped me a little but I am also having some issues with optimizing OpenGL. I was under the impression the glBindTexture would improve the performance of an app that is using textures in OpenGL but I found it to be the opposite on each test machine.

I am working on a sky cube, although it does not necessarily have to be a cube, and the drawing times are miserable when a texture is applied. If anyone has any tips they would be greatly appreciated.

My program needs to run on 95/98/NT4 and 2000. The performance in 95/98 is acceptable with a good card and decent drivers but it is SLOW in NT4 and 2000.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!