IFL Animation Performance
by William Todd Scott · in Torque Game Engine · 05/16/2006 (9:11 am) · 4 replies
Hi All,
I am toying around with helicopter vehicles in TGE and I noticed that when I have a helicopter with IFL animation for the blades the frame rate is around 50 fps. However, in the same mission with nothing else changed, if I have a helicopter with no IFL animation the frame rate is 70fps.
That seems like a pretty heavy performance hit. Has anyone else experienced this? Is there something that I can do to improve the IFL performance?
Thanks
Todd
I am toying around with helicopter vehicles in TGE and I noticed that when I have a helicopter with IFL animation for the blades the frame rate is around 50 fps. However, in the same mission with nothing else changed, if I have a helicopter with no IFL animation the frame rate is 70fps.
That seems like a pretty heavy performance hit. Has anyone else experienced this? Is there something that I can do to improve the IFL performance?
Thanks
Todd
#2
The textures are 512x512 and there are 20 of them.
I'm will do some more precise profiling to make sure I am seeing what I think I'm seeing. :)
Todd
05/16/2006 (10:57 am)
Ok, Thanks Jeff.The textures are 512x512 and there are 20 of them.
I'm will do some more precise profiling to make sure I am seeing what I think I'm seeing. :)
Todd
#3
05/16/2006 (11:23 am)
20 textures of 512*512 for 1 effect? That's a lot of wasted memory if you ask me. And yes, that's defenetly the reason for the slowdown.
#4
I think the reason we ran into this problem is that IFL animations are really hard to tweak/test because you have to constantly re-export the shape to see what they look like.
We are using Maya. Is there any way to preview the animation in maya (maybe before we setup for export) ?
Thanks for the comments.
Todd
05/16/2006 (11:52 am)
Ok, that makes sense.I think the reason we ran into this problem is that IFL animations are really hard to tweak/test because you have to constantly re-export the shape to see what they look like.
We are using Maya. Is there any way to preview the animation in maya (maybe before we setup for export) ?
Thanks for the comments.
Todd
Torque Owner Jeff White
Maybe performance impact is because of too much texture swapping.
How many frames are in your animation? Try an IFL with only one or two frames as a benchmark.
I have looked at the IFL code and it shouldn't be to impactful unless there are a lot of frames in the animation. (in the order of hundreds)