Animation and performance

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Sfortza
Posts: 39
Joined: Thu Mar 17, 2011 12:40 pm
Location: 184

Animation and performance

Post by Sfortza »

Have 6 animated meshes in the scene in my mobile game,
they have a great impact on performance.

What animation is preferable for performance: morph or sceletal?
What is the format of skeletal animation is most preferable in terms of performance?
Which techniques should be used to reduce the impact of animation on performance?

Thank you.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Re: Animation and performance

Post by shadowslair »

If you use morph and low-poly models like up to 500-800 tris and don`t insist on 100% accuracy and don`t do realtime joint transf morph should be faster. It depends on the case, so your best bet would be just to load your models and compare the performance to be 100% sure. Keep in mind that morph animation files` size may grow bigger if you have a lot of frames.

Once loaded, the performance is the same for all skeletal animation formats.

The fewer vertices and fewer bones a model has, the faster it will run. Not using animation will be fastest. :D
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
Sfortza
Posts: 39
Joined: Thu Mar 17, 2011 12:40 pm
Location: 184

Re: Animation and performance

Post by Sfortza »

shadowslair, thank you!
Post Reply