Skip to content
glTF support for .NET
Branch: master
Clone or download
vpenades more code cleanup
exceptions
Latest commit f79d192 Apr 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build more code cleanup Apr 15, 2019
src
tests/SharpGLTF.Tests
.gitignore Initial commit Feb 2, 2019
LICENSE Initial commit Feb 2, 2019
README.md documentation fixes Apr 3, 2019
SharpGLTF.ruleset more api changes and +docs Mar 21, 2019
SharpGLTF.sln
stylecop.json stylecop change! Feb 14, 2019

README.md


Overview

SharpGLTF is a NetStandard 2.0, .NET library designed to support Khronos Group glTF 2.0 file format.

The aim of this framework is:

  • To be able to create, manipulate, load and save glTF2 documents.
  • To provide a safe and easy to use high level API to produce 3D assets.

The current status of the library is preview alpha, but, for some use cases it is already usable.

Nuget Packages

Notice that SharpGLTF.1.0.0-Alpha4 has been deprecated.

Quickstart

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

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

Design

The framework is divided in two packages:

  • SharpGLTF.Core provides the core glTF2 schema implementation, read & write operations, and a low level API for direct document access.
  • SharpGLTF.Toolkit provides a high level API over the Core package, adding convenient extensions and utilities to help creating meshes, materials and scenes.

Appendix

You can’t perform that action at this time.