#gltf #csharp #library #3d #format #decoder #encoder #gamedev #asset #pipeline

vpenades ee3889974f fixed DiffuseTransmission incorrect naming 2 weeks ago
.github bf97c7ff29 upgraded projects to net10 2 weeks ago
build ee3889974f fixed DiffuseTransmission incorrect naming 2 weeks ago
examples 2736cba9ed Replaced old Trimmed app for a proper AOT ready unit test 2 months ago
src bf97c7ff29 upgraded projects to net10 2 weeks ago
tests bf97c7ff29 upgraded projects to net10 2 weeks ago
.editorconfig c0aed7c82c Preliminar changes to support trimmed assemblies. 3 years ago
.gitignore 9918aaff7f Code cleanup 3 years ago
Directory.Packages.props c0a5ae62d0 nugets++ 2 weeks ago
LICENSE 9e2e0531f4 Initial commit 6 years ago
NuGet.Config a047f8e3f7 Added testAttachment nunit helper 3 years ago
README.md 03c1f87423 readme++ 1 year ago
SharpGLTF.Build.sh 451088e8ba actions++ 1 year ago
SharpGLTF.ruleset ee789d20f5 Updated nuget packages. 5 years ago
SharpGLTF.slnx 72285fbf71 Switched to xml solution 2 weeks ago
stylecop.json 4d29fdd7c1 stylecop change! 6 years ago

README.md

GitHub Nuget (with prereleases)

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|Nuget (with prereleases)|Read/Write file support, and low level access to the glTF models.| |SharpGLTF.Runtime|Nuget (with prereleases)|Helper classes to simplify gltf model rendering.| |SharpGLTF.Toolkit|Nuget (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