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

Vicente Penades 99f535beda replaced custom .props by Directory.Build.props před 3 roky
.github ad86288bec Update issue templates před 3 roky
build 096a1150fe Added KHR_EMissiveStrength (wip) před 3 roky
examples d33cfdfe9b removed net5.0 in favour of net6.0 před 3 roky
src 99f535beda replaced custom .props by Directory.Build.props před 3 roky
tests 99f535beda replaced custom .props by Directory.Build.props před 3 roky
.editorconfig c0aed7c82c Preliminar changes to support trimmed assemblies. před 3 roky
.gitignore 9918aaff7f Code cleanup před 3 roky
LICENSE 9e2e0531f4 Initial commit před 7 roky
README.md 7fb235ef9f Improved performance of the mechanism behind LogicalIndex property used by most glTF objects. před 5 roky
SharpGLTF.ruleset ee789d20f5 Updated nuget packages. před 5 roky
SharpGLTF.sln 99f535beda replaced custom .props by Directory.Build.props před 3 roky
stylecop.json 4d29fdd7c1 stylecop change! před 6 roky

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