Need help with SharpGLTF?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

vpenades
220 Stars 39 Forks MIT License 528 Commits 8 Opened issues

Description

glTF reader and writer for .NET Standard

Services available

!
?

Need anything else?

Contributors list

# 109,412
C#
unity3d
c-sharp
progres...
511 commits
# 15,353
HTML
TeX
Shell
cesium
8 commits
# 248,288
golang
Jupyter...
tiling
tms
1 commit
# 582,922
gltf
gltf2
C++
C
1 commit

GitHub Nuget (with prereleases)

Join the chat at https://discord.gg/y9mnJQY

Overview

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

The library is divided into two main packages:

  • SharpGLTF.Core provides read/write file support, and low level access to the glTF models.
  • SharpGLTF.Toolkit provides convenient utilities to help create, manipulate and evaluate glTF models.

Nuget Packages

|Package|Version| |-|-| |SharpGLTF.Core|Nuget (with prereleases)| |SharpGLTF.Toolkit|Nuget (with prereleases)|

The library is still in preview status because the APIs are still subject to change from version to version, but most of the features are already completed and heavily tested, so I believe the code is mature enough to be used in production.

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.