Awesome
<p align="center"> <img src="build/Icons/glTF2Sharp.png" height=128 /> </p>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:
Library | Nuget | Function |
---|---|---|
SharpGLTF.Core | Read/Write file support, and low level access to the glTF models. | |
SharpGLTF.Runtime | Helper classes to simplify gltf model rendering. | |
SharpGLTF.Toolkit | Convenience utilities to help create, manipulate and evaluate glTF models. |
Additionally, there's some optional extension libraries available:
- SharpGLTF.Ext.Agi
- SharpGLTF.Ext.3DTiles
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.