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:
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.