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

Vicente Penades dc102d43e1 Delete tests/SharpGLTF.Ext.3DTiles.Tests/testfixtures directory há 2 anos atrás
.github f002f0ef4f updated action path há 2 anos atrás
build fc88c592ea nugets++ há 2 anos atrás
examples 9cd7903c9c added AOT compilation to demo há 2 anos atrás
src 9ae14716e7 nugets++ há 2 anos atrás
tests dc102d43e1 Delete tests/SharpGLTF.Ext.3DTiles.Tests/testfixtures directory há 2 anos atrás
.editorconfig c0aed7c82c Preliminar changes to support trimmed assemblies. há 3 anos atrás
.gitignore 9918aaff7f Code cleanup há 3 anos 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 b23b5ce225 Update README.md há 2 anos atrás
SharpGLTF.ruleset ee789d20f5 Updated nuget packages. há 5 anos atrás
SharpGLTF.sln 516e3be4cb added project back há 2 anos 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 two main packages:

  • SharpGLTF.Core provides read/write file support, and low level access to the glTF models.
  • SharpGLTF.Toolkit provides convenient utilities to help create, manipulate and evaluate glTF models.

Nuget Packages

|Package|Version| |-|-| |SharpGLTF.Core|Nuget (with prereleases)| |SharpGLTF.Toolkit|Nuget (with prereleases)|

The library is still in preview status because the APIs are still subject to change from version to version, but most of the features are already completed and heavily tested, so I believe the code is mature enough to be used in production.

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