Jump to content
  • Advertisement
Sign in to follow this  
dave

Batching Really Does Work!!

This topic is 5161 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

Not that i ever doubted u guys. In an earlier post i was saying how i was getting 41fps when drawing 6000 vertices. Now i can draw 30000 vertices at about 241fps, i still dont know whether this is any good and this isnt for vertices that can be altered on the fly but supposing it was for a terrain i dont think its too bad. A quick word on my methods. 1. Load in descriptions of quads from a file at startup. 2. Sort them according to the texture only (for now :P) 3. Have a 'index' linked list that is run through per frame and indicates which vertices for draw primitive to draw. 4. Batch the nodes in this list together so instead of having 10 nodes saying draw 2 primitives, i have 1 node saying draw 20, as an example. ace

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Coder
For God's sake ace, please post in the appropriate forum. Moved to graphics programming and theory.

Does he actually care? Oh wait, you meant Dave didn't you?

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!