Jump to content
  • Advertisement
Sign in to follow this  
TheBuzzSaw

virtual card table

This topic is 2990 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 considering building a virtual card table. Basically, the entire scene would consist of "cards" (very thin textured boxes). Is there anything to be gained by using VBOs here? Should I use vertex arrays? Or even immediate mode? It just seems that by the time I do all the setup for any of these, I could have finished the entire object in immediate mode. Are there still significant gains by pre-loading the data into the GPU?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by HuntsMan
Yes, Always use VBOs/VAs. Modern GL versions don't have immediate mode for a reason.


In the case of this card table, would it be best then to load one card in as a VBO and just render it repeatedly (changing the texture binding each time)?

Share this post


Link to post
Share on other sites
Quote:
In the case of this card table, would it be best then to load one card in as a VBO and just render it repeatedly (changing the texture binding each time)?


Yeah.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!