readyplayerme / animation-library

Ready Player Me Animation Library
Other
442 stars 58 forks source link

GLB Animations #2

Open crazyramirez opened 12 months ago

crazyramirez commented 12 months ago

Hi guys!

Thanks for the great contribution, the animations are impeccable. I usually work a lot of projects in BabylonJS and the file standard it uses is GLB.

I have used a mini App developed in NodeJS to batch convert from FBX to GLB and optimize the animations:

https://github.com/crazyramirez/FBX2GLB-Batch-Convert-Optimizer

I have also uploaded to Github an example combining multiple animations in a ReadyPlayerMe Character:

https://github.com/crazyramirez/babylonjs-ReadyPlayerMe-Animation-Combiner

Live Demo TEST

https://viseni.com/readyplayer_anim/

Live DEMO TEST using Morph Targets Animation

https://viseni.com/readyplayer_talk/

I hope you enjoy it.

Thanks again for your work.

tiivik commented 10 months ago

Thanks for the feedback, looking great!

We provided them as FBX first to work in Unity & Unreal, and looking into providing GLB-formatted variants as well, which is easier to work with across the web.

brettkromkamp commented 10 months ago

Having GLB-formatted variants would be excellent. Until then, tools like those provided by @crazyramirez will have to fill the gap for the glTF-based ecosystems (three.js, BabylonJS, etcetera).

Anyway... thanks for the fantastic contribution.

MAG-DanielMurdolo commented 10 months ago

Adding my vote to a request for GLB files so we can use these excellent assets in even more places.

brettkromkamp commented 10 months ago

Mixamo's FBX animations can be used, as-is, with three.js/R3F/drei. But, these animations, when attempting to load them, fail with the following error: Could not load ./animations/backflip.fbx: THREE.FBXLoader: Cannot find the version number for the file given.

lenkawell commented 7 months ago

Adding GLB versions would be nice, but along with Unreal and Unity, the Movie Maker 3D iOS and macOS apps version 11.0 now support importing FBX animations: https://moviemaker3d.com/avatar-character-body-animations

MAG-DanielMurdolo commented 6 months ago

I've created a fork with GLB versions. Do you have any guidelines to follow for creating a PR (if it's of interest)?