Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
/ Gru Public archive

glTF runtime importer for Unity3D

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

ashikns/Gru

Repository files navigation

Gru

Gru is a glTF runtime importer for Unity3D. It's written with code extensibility and performance in mind, and specifically focussed on runtime importing. This means that Gru does not support model exporting, nor is there a guarantee that it will work correctly in Edit mode.

Installation

Include the repo as a submodule or just download the repo as a zip and place in your Unity project. Gru requires Json.NET to be installed in your project. You can download the Json.NET nuget package, open it as an archive, then copy netstandard2.0 version dlls to Assets/Plugins/ folder in your Unity project.

Usage

var modelObject = await GLTFImporter.ImportAsync(modelFilePath, new FileStreamLoader(modelDirectoryPath));

The second parameter to load is an interface that can open a stream to read buffer data.

Credits

Gru has been written using code liberally borrowed from the UnityGLTF library, and also uses the same shaders.

About

glTF runtime importer for Unity3D

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published