A simple java wrapper of VRM based on JglTF.
It simply inherits and
wraps GLTFModel,
with adding extra helper methods to it.
There are some features VRMCore provides:
- Load humanoid
- Load blend shape groups
and also not implemented currently:
- All features except I mentioned above
maven {
url = 'https://github.com/singlerr/mvn-repo/raw/maven2/'
}
dependencies {
implementation 'io.github.singlerr.vrmcore:vrm-core:${vrm_core_version}'
}
For ${vrm_core_version}
, you may look up maven repo to figure out
which version is available
Following code snippets retrieve VRMExtension that is an implementation of VRM
GltfModel model = ...;
VRMLoader loader = new VRMLoader(model);
VRMExtension vrm = loader.load(); // VRMLoader#load will throw IllegalStateException when it cannot parse vrm json from GltfModel