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

vpenades 5153478a20 fixed new action hai 1 mes
.github 5153478a20 fixed new action hai 1 mes
build 91d33f560f Added KHR_NodeVisibility hai 2 meses
examples bc12cac0a0 improved and documented monogame runtime hai 1 mes
src fd4b790a1e improving support for visibility hai 1 mes
tests fd4b790a1e improving support for visibility hai 1 mes
.editorconfig c0aed7c82c Preliminar changes to support trimmed assemblies. %!s(int64=3) %!d(string=hai) anos
.gitignore 9918aaff7f Code cleanup %!s(int64=3) %!d(string=hai) anos
Directory.Packages.props b40762ab8d nugets++ hai 1 mes
LICENSE 9e2e0531f4 Initial commit %!s(int64=7) %!d(string=hai) anos
NuGet.Config a047f8e3f7 Added testAttachment nunit helper %!s(int64=3) %!d(string=hai) anos
README.md 03c1f87423 readme++ hai 1 ano
SharpGLTF.Build.sh 451088e8ba actions++ hai 1 ano
SharpGLTF.ruleset ee789d20f5 Updated nuget packages. %!s(int64=5) %!d(string=hai) anos
SharpGLTF.slnx 56f9f735b4 Added alternative publish method hai 1 mes
stylecop.json 4d29fdd7c1 stylecop change! %!s(int64=7) %!d(string=hai) anos

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