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

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

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