What do you use for sprites, array lists, indexed array lists or VBO?
Hi mates!
I'm building a common 2D platform game, where elements are sprites.
What do you use for sprites, array lists, indexed array lists or VBO?
I'm talking about performance point of view.
And do you build a QUAD or a couple of triangles?
Thanks a lot for suggestions.
I'm building a common 2D platform game, where elements are sprites.
What do you use for sprites, array lists, indexed array lists or VBO?
I'm talking about performance point of view.
And do you build a QUAD or a couple of triangles?
Thanks a lot for suggestions.
Array lists and quads.
there are no quads in ES...
OneSadCookie Wrote:there are no quads in ES...
Good point. I'd go with two triangles in that case.
OK. Thanks.
What I don't understand is why there is no performance difference between VBO and array list. Maybe because GPU and CPU RAM memory is the same, I don't know. But I don't appreciate performance differences between them.
What I don't understand is why there is no performance difference between VBO and array list. Maybe because GPU and CPU RAM memory is the same, I don't know. But I don't appreciate performance differences between them.
If vertex submission isn't the bottleneck in your application, it won't make any difference.
riruilo Wrote:OK. Thanks.
What I don't understand is why there is no performance difference between VBO and array list. Maybe because GPU and CPU RAM memory is the same, I don't know. But I don't appreciate performance differences between them.
Well, there is substantial difference with the new devices (3gs) -the old one , well ...Apple claims there are some hardware limitations which make VBOs essentially a gimmick.
On the other hand, Img Tech guys say there is nothing wrong with their hardware so .. I guess ...will never know.
warmi Wrote:Img Tech guys say there is nothing wrong with their hardware so .. I guess ...will never know.
Actually, IMG says the same thing as Apple.
See the top of page 8 in the PowerVR 3D Application Developer Recommentations:
Quote:On most POWERVR MBX systems you might not see a noticeable increase in performance using vertex buffers, but it will not degrade performance either. On newer generations of POWERVR hardware (SGX), using vertex buffers can make a noticeable difference in performance.
arekkusu Wrote:Actually, IMG says the same thing as Apple.
See the top of page 8 in the PowerVR 3D Application Developer Recommentations:
Yeah, in this case they do but what I was referring to was the problem with inefficient vertex data copying on every drawXXX class which , as far as I understand, is something specific to Apple and their version of MBX driver.
Really interesting. Thanks a lot.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| How do I use a mutable array of custom object 'enemies' in my game? | hybryd | 3 | 2,749 |
Apr 20, 2009 12:22 PM Last Post: Josh |
|
| NSData or NSArray to array of u32 | sumiguchi | 2 | 3,381 |
Apr 4, 2009 09:44 AM Last Post: sumiguchi |
|

