Jump to content
  • Advertisement


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

Debonaire Hero

Question about Display Lists and Textures

This topic is 6633 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 confess I didn''t really pour over NeHe''s tutorial about Display Lists, but I wasn''t exactly too sure about this point. I''m trying to work with a few friends on an RPG game with an isometric perspective, and we decided to use OpenGL quads joined together to make up the ground. Each quad would be textured depending upon their value and where they are in a matrix or something, but I was wondering if I could make a generic quad with a Display List, but texture it differently each time I load it? That way, I wouldn''t have to rewrite the quads each time or throw it into a loop, but just call a large square and texture it depending upon where it is in the world (i.e. mountains/water/grass).

Share this post

Link to post
Share on other sites
Display lists are mostly designed to optimize frequently used complex models. IMHO, a tile (quad) isn''t a complex model and it would be a waste of time to use display lists for it.

BTW, you can set your new texture, THEN call the display list to use it (never tried, though, textures are slow on my card)


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!