Sign in to follow this  
dave

Batching Really Does Work!!

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this