|
Weird model deformation during interpolation
#255471
03/10/09 17:32
03/10/09 17:32
|
Joined: Sep 2003
Posts: 133 Oklahoma, USA
AJ
OP
Member
|
OP
Member
Joined: Sep 2003
Posts: 133
Oklahoma, USA
|
Hi, I am currently trying to make an animation for a man walking up stairs. I have created the animation (using bones) in MED and while running it through the cycle in MED it looks perfectly fine. However when i watch the animation in the game there are odd deformations that occur. For example when he lifts his leg up the calf and everything below it shrinks. And the longer the distance the more deformation (shrinking) occurs. I thought that perhaps i just didn't have enough frames so i added more frames but this creates a kind of bobbing effect and there is still some deformation. I went through all my animations and apparently they all do it i just had not noticed it up until now because the other animation movements were small. I'm not sure if this is an engine problem and i haven't been able to find much info on the forums. I have already posted in A7 Engine : Original Post in A7 Engine Any help would be greatly appreciated. I am using LiteC 1.70.1 and the MED that comes with it. Thanks, AJ
|
|
|
Re: Weird model deformation during interpolation
[Re: AJ]
#255583
03/11/09 12:07
03/11/09 12:07
|
Joined: Aug 2000
Posts: 1,140 Baunatal, Germany
Tobias

Moderator
|

Moderator
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
|
Maybe, you forget
ent_animate(me,NULL,0,0); // reset all bones
as in the example?
When you dont reset your bones, your animations add up over time and give strange results.
Another possibility is that you have too few frames in your animation, interpolating means inbetween values from frame to frame, for instance if you rotate something and have one frame only every 90 degrees then interpolation will look wrong.
|
|
|
|