skylicht-lab / skylicht-engine

Skylicht Engine is C++ Game Engine based on Irrlicht 3D. And my goal is to create a high-performance and lightweight Game Framework that can seamlessly function on both web and mobile platforms. This framework will be available to everyone for free.
MIT License
672 stars 52 forks source link

Is there any plan to support Blend-Shapes (Morph animation) in the near future? #135

Closed babefish2008 closed 2 years ago

babefish2008 commented 2 years ago

Hi Hung,

Firstly, Really appreciate to contribute Skylicht-Engine, this engine is very helpful for my app! I have a look at the feature list and it seems skylicht did't find Blend-shapes(Morph animation) support, right? Do you have plan to support this feature?

ducphamhong commented 2 years ago

Hi bebefinish Thanks for your request.

I have the question: The meshes, that will be blending are the same as the number of vertices? I will open issues to R&D soon this feature.

I have a reference (https://antongerdelan.net/opengl/blend_shapes.html)

Thanks,

ducphamhong commented 2 years ago

I have an example here. I going to write the fbx importer and merge this feature.

https://github.com/bqqbarbhg/ufbx/blob/master/examples/viewer/shaders/mesh.glsl

Thanks your advice

ducphamhong commented 2 years ago

Hi @babefish2008 I have added the project Blend Shapes example here: https://github.com/skylicht-lab/skylicht-engine/tree/master/Samples/BlendShape/Source