I'm doing some optimizations for animations and am at a crossroads;

[test case]
100 animated models, less than 1000polys, 5 frame vertex animation

Whats strange is, if i use the gamestudios "guard.mdl", i get a fps of 25+ which is fine for what i want

but when i use my model, same amount of animation frames, no bones and LESS polygons than "guard.mdl", my fps drops below 10

What could be the reason for this? the differences i see in pressing f11 are as follows:

[test with 100 "guard.mdl"]
PPS(polygons per sec) - 3138k
REF(refresh rate) - 173
TRI - 137k

[test with 100 custom model]
PPS(polygons per sec) - 565k
REF(refresh rate) - 0.3
TRI - 99k


Ive been looking into it and i cant see why there would be a difference, and why would the PPS change so dramatically ??

[other info]
custom model untextured
guard model 256*256 texture
both tests use same scripts, just changing model name
guard.mdl filesize = 514kb
my model filesize = 129kb

[SOLUTIONS]
so its confirmed, vertices count being the problem, man there really should be notes on these stuff somewhere, unless i missed it
Also, incase it helps anyone, if you animate all your models by one variable, meaning, they all display the same frames, it actually increases FPS, based on tests done


Last edited by darkinferno; 02/08/12 14:47.