arthurmco / familyline-testbed

nice and fun RTS game about the adventures of family in the ancient era. Homebrew engine. Just starting. Shitty graphics are expected
MIT License
6 stars 2 forks source link

Improve the animation subsystem #18

Open arthurmco opened 5 years ago

arthurmco commented 5 years ago

Currently, support for animated meshes is poor.

We need to have it, so the game looks more dynamic, with moving constructions, like boats that moves their sails, or mills that moves their pads.

It needs to support mesh deformation, for simple animations, and skeletal animation, for more complex ones. It might need to support static ones, at least for now

arthurmco commented 5 years ago

@arthurmco I am thinking about making all meshes animatable.

Some ones will be trated as "1 frame animations" (the StaticAnimators), others will be mesh deformated animations, and others will be skeletal ones.

Making all meshes have an animation component would make the code simpler

arthurmco commented 5 years ago

@arthurmco After the initial rewrite of the animation system, it would be good to support running some things in the GPU (mesh deform calculation is a good example)

arthurmco commented 4 years ago

Seems to work, but I need to create an animated mesh to be sure