Jump to content
  • Advertisement
Sign in to follow this  
TheBuzzSaw

virtual card table

This topic is 3084 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.

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!