Quote:
Originally Posted by demione
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.