2D engine done. Advice on optimisation, please?
kendric Wrote:I am curious. What did you do with drawElements vs drawTriangles and how much did it help? I also have a big waste with my glcolors array. it has to be 2x the size of the vertex array and 90% of the time its all 1s, but you need it for that other 10% Also I am now curious what my render rate is compared to you guys. At some point i will have to do a test. I have about 50 things on screen at hectic times if not more, each thing being 2 triangles. I can hold 60 fps during a lot of the time on a 2nd gen ipod. This is with game logic though which uses a good chunk of cpu. I can do a render test at some point.
I am using unsigned int for my color values within the array.
There is no really way around it if you want to have multiple colors/effects for each quad while keeping them all rendered with a single batch.
|Messages In This Thread|
2D engine done. Advice on optimisation, please? - warmi - Jul 24, 2009 01:14 PM
Possibly Related Threads...
|new engine in works. advice?||godexsoft||4||3,825||
Apr 7, 2012 07:25 AM
Last Post: godexsoft
|Advice on 3D Room engine?||devGamer||4||3,421||
Mar 21, 2010 10:05 AM
Last Post: Skorche