11 Commits

Author SHA1 Message Date
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
7a090fd5e7 STARK: Move the skeletal animation code around 2016-04-09 17:23:07 +02:00
Bastien Bouclet
3498e65818 STARK: Move the 3D model related classed to the model directory 2016-01-01 07:29:54 +01:00
Bastien Bouclet
413ee2a75d STARK: Move the format readers to their own namespace 2015-02-13 12:52:32 +01:00
Bastien Bouclet
0f978e54dd STARK: Rename Resource to Object to reflect the namespace change 2015-02-13 11:18:37 +01:00
Bastien Bouclet
37cda066c0 STARK: Rename ResourceType to Type to reflect the namespace change 2015-02-13 11:13:10 +01:00
Bastien Bouclet
254021c602 STARK: Move the resources to a separate namespace 2015-02-13 11:10:44 +01:00
Bastien Bouclet
345c13a0b5 STARK: Add more comments to resources 2015-01-25 18:30:56 +01:00
Bastien Bouclet
af71cb117e STARK: Draw the actors using the resource tree 2015-01-04 20:01:17 +01:00
Bastien Bouclet
ccfa875aa1 STARK: Prepare data loading for mesh instanciation by the resources 2015-01-04 17:56:30 +01:00
Bastien Bouclet
77a72075fa STARK: Add a bones mesh resource type 2015-01-04 10:23:33 +01:00