View Full Version : Performance Issue
05-24-2010, 06:47 PM
Anybody give me some suggestion to improve the performance of my drawing? Or give me some reference
05-24-2010, 07:48 PM
Have you tried a wider pencil?
Seriously, if you want any sensible replies you will have to give a lot more detailed information on how you're currently drawing things.
05-25-2010, 01:34 AM
First have a read here for basics :
Then for more precise help, as said Lord crc, you will indeed have to give details about your hardware gpu/vram/cpu/ram/OS, how you draw things, what you draw, what rendering speed you expect, etc.
05-25-2010, 06:46 AM
Rule of thumb: Keep the GPU always busy :)
Minimize redundant state changes.
Batch geometry that share the same textures and shaders or rendering states
Use triangle strips whenever possible.
Use only VBOs
05-25-2010, 07:34 AM
Triangle strips are not that good. Try simple indexed triangles with vertices in "hilbert curve" order instead, takes advantage of any size of vertex cache.
05-25-2010, 11:27 PM
05-26-2010, 06:42 PM
And another powerful tool: use display list as possible as you can.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.