How to write an mmd loader to serve babylon.js, similar to mmd loader in threejs, which supports loading model formats such as pmd and pmx, and supports loading vmd animation format
Iām working on it.
I actually started after I saw your post.
2315137135/babylonjs-mmd-loader (github.com)
I made a start, and now he can load static meshes. However, things like materials, animations, bones, skins, mapping, and a lot more are still to be done.
WOOOO glad to see you working on it! Iāve been watching so many MMD videos recently
Thereās a VRML loader project too! virtual-cast/babylon-vrm-loader: glTF VRM extension Loader for babylon.js (github.com)
Static I also solved, but animation and other do not know how to do
yayyayay!
Iām working on bones and skins now
Skeleton and skin!
Some skeletal problems tormented me for quite some time, but now they are solved.
Update! Bone animation.
Since ik has not been implemented yet, the feet look a bit strange.
Next, deal with facial expressions.
There may be a small problem. I submitted pr to fix it. Please check if there is any problem
Facial expressions and animations.
I will release an npm package after processing the ik.
WOOOHOOOO! I hope to play with it
Cool!!!
I have implemented the basic version of ccd IK, which I will soon apply to the mmd model
Iām looking forward to it!
You can do it!!!
Iām sorry, but the animation in the pmx section is a bit out of my league.
I canāt understand what āgrant boneā is. And how it relates to ik.
Iāve searched a lot, but thereās no explanation.
Maybe when I become an actual MikuMikuDance master, Iāll come back.
Iāll take a break and actually try out how to use mmd.
In case anyone wants to use the existing code, the repository is here babylonjs-mmd-loader
I will take some time off.
And for those who want to use the existing implementation, here are
playground example:
playground: https://playground.babylonjs.com#3VECRA#4
npm: @wenxin123/babylonjs-mmd-loader - npm (npmjs.com)
umd CDN: https://www.unpkg.com/@wenxin123/babylonjs-mmd-loader@0.1.4/dist/lib/index.umd.js
Thanks for sharing the implementation! You did a lot of cool stuff already
And I wish you luck in the journey to become MMD master