vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
531 stars 175 forks source link

VRM support #1167

Open JulianGro opened 3 years ago

JulianGro commented 3 years ago

After looking a bit more at the VRM format, it looks like it might not be too hard to get an initial implementation going. It looks like it is just a glb file with additional metadata. (The spec says Saved in .glb format and used .vrm as the extension.) The best way I currently know to actually look at a VRM file would be to go to https://pixiv.github.io/three-vrm/examples/dnd.html and open the development console (at least this works on Vivaldi). "dnd" stands for Drag and Drop in this case so the site can be used to look at any VRM files. 1Auswahl_867 It looks to me like there is just a normal glb model in these VRM files and the VRM file just contains extra information like which bone is the spine bone.

My understanding is that a basic VRM implementation could be done by just piping the glb part to our gltf serializer and then mapping the bones using the UUIDs inside the VRM file. Since glTF2.0 only supports jpeg and png textures, it would also make sense to have the Oven able to bake VRM files to our current fbx + ktx + fst + json format. (This would significantly reduce loading times once we actually package out assets to single files)

stale[bot] commented 3 years ago

Hello! Is this still an issue?

JulianGro commented 3 years ago

:angry:

stale[bot] commented 2 years ago

Hello! Is this still an issue?