Commit graph

8 commits

Author SHA1 Message Date
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet
b163d999a8 STARK: Don't blend incompatible animations after a model switch
Fixes a crash after giving the ring to April's father and then
repeatedly skipping time using escape.
2019-05-28 21:25:55 +02:00
Bastien Bouclet
6a7e99c4b9 STARK: Models and animations can have a different number of bones
It seems like some aniamtions have not have been properly exported and
have a different number of bones when compared to their models. This is
the case for the Alatien child.

Fixes #1527.
2019-02-28 19:32:33 +01:00
Bastien Bouclet
bb6c92034f STARK: Don't blend animations for models with incompatible number of bones
Both the new and previous animation need to have the same number of
bones as the model to be able to blend the animations.

Fixes #1517.
2019-02-01 08:58:55 +01:00
Bastien Bouclet
e3c6748a7f STARK: Rework skeletal animation blending control
The previous animation blending system had some flows. The
AnimationHandler was owned by the model which was incorrect, since it's
possible to change models during an animation sequence. The
AnimationHandler is now owned by the item, ensuring there is only one
per character instance.

We now ignore animation change requests for one frame. This is because
the scripts often cause an animation change, and request another one the
very next frame. This used to cause issues because we were blending the
latest animation with the previous one which was only active for one
frame, causing a discontinuity. This new solution is kind of a hack.
Hopefully it is good enough and there is no need to implement animation
blending for more than two animations at once.
2019-01-25 09:48:31 +01:00
Bastien Bouclet
f5e082d13a STARK: Implement skeletal animation blending 2016-04-10 11:35:30 +02:00
Bastien Bouclet
7a090fd5e7 STARK: Move the skeletal animation code around 2016-04-09 17:23:07 +02:00
Renamed from engines/stark/model/skeleton.cpp (Browse further)