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

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

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