Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-01-2010, 12:28 PM   #7 (permalink)
warmi
Registered Member
 
Join Date: Nov 2008
Posts: 234
Default

Quote:
Originally Posted by demione View Post
No texture, no lighting. I will have to perform rotation and scaling operations on them. I realize I could write my own operations to do this logic on the CPU, as a way to avoid having to call DrawElements 100 times. Just trying to get a sense of whether or not it's worth the effort.
It makes a lot of difference..

I actually did some tests and even have pictures to prove it :-)

Here is a run without batching ( you can see it issues 121 DrawElements calls "renderables") - it runs at around 22 fps in release mode ( this screenshot is from my debug session)
http://www.warmi.net/tmp/Screenshot_1a.png

And here is another run with batching (transforming positions/normal on the CPU - you can see it only has 4 DrawElements "renderables") - it runs at 55+ fps ( again the screenshot is from debug session )
http://www.warmi.net/tmp/Screenshot_1b.png

So the difference is huge.
warmi is offline   Reply With Quote
 

» Advertisements
» Online Users: 267
17 members and 250 guests
ADY, ckgni, IphoneSdk, iph_s, jakerocheleau, karunaskj, MarkC, michelle, peterkessler45, rob.mccarthy, rodrigozanatta, Speed, TheWebWizz, V_SC&, Xaron, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,218
Posts: 380,695
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:27 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.