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

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

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