stetre / moonlibs

Lua libraries for graphics and audio programming
216 stars 11 forks source link

Skeletal/3D Animation library #12

Open Caue-Aron opened 11 months ago

Caue-Aron commented 11 months ago

Is there something about a way to animate 3D models? This collection of libraries has it all packed together, graphics, loading assets, audio, windowing, physics... But an animation lib is missing from it, is there a way I can get one, or is something being built already? Ozz Animation library seems a good one to port, tho ima try it with cffi library, reraging things to work with lua using the C API takes sometime.

stetre commented 11 months ago

There isn't anything specific, apart from Assimp for loading models and maybe something in SDL2, iirc.

There is an example of skeletal animation in the learnopengl port bundled with moongl, but it seems not to work any more (I'll look into it when I have some time).

Ozz seems interesting, but I promised myself never to bind C++ libraries again, unless they have a nice, clean, documented, and maintained C API. Do you know of any alternatives?