Skip to content

singlerr/vrm-core

Repository files navigation

VRM Core


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

Getting started

1. Add maven repository:

    maven {
        url = 'https://github.com/singlerr/mvn-repo/raw/maven2/'
    }

2. Add VRMCore to your dependencies:

    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


Get access to VRM extensions

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages