Giter VIP home page Giter VIP logo

gru's Introduction

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.

gru's People

Contributors

ashikns avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.