Home

Awesome

<p align="center"> <img src="build/Icons/glTF2Sharp.png" height=128 /> </p>

GitHub Nuget (with prereleases) Join the chat at https://discord.gg/ecGAbsUDbB

Overview

SharpGLTF is a 100% .NET Standard library designed to support Khronos Group glTF 2.0 file format.

The library is divided into these main packages:

LibraryNugetFunction
SharpGLTF.CoreNuget (with prereleases)Read/Write file support, and low level access to the glTF models.
SharpGLTF.RuntimeNuget (with prereleases)Helper classes to simplify gltf model rendering.
SharpGLTF.ToolkitNuget (with prereleases)Convenience utilities to help create, manipulate and evaluate glTF models.

Additionally, there's some optional extension libraries available:

Quickstart

A simple example of loading a glTF file and saving it as GLB:

var model = SharpGLTF.Schema2.ModelRoot.Load("model.gltf");
model.SaveGLB("model.glb");

More examples can be found here and in the Test project.

Appendix