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

Vicente Penades bf94ee0409 version bump 4 ani în urmă
.github 37cf323cc7 WIP: tangent space generation support 6 ani în urmă
build 58d94a9778 Improved Extras support. 4 ani în urmă
examples 5c684eca1c Improved matrix validation. 4 ani în urmă
src bf94ee0409 version bump 4 ani în urmă
tests 5c684eca1c Improved matrix validation. 4 ani în urmă
tools 07e775eee8 Updated gltf validator to 2.0.0-dev.3.3 (still WIP) 5 ani în urmă
.gitignore 9e2e0531f4 Initial commit 7 ani în urmă
LICENSE 9e2e0531f4 Initial commit 7 ani în urmă
README.md 7fb235ef9f Improved performance of the mechanism behind LogicalIndex property used by most glTF objects. 5 ani în urmă
SharpGLTF.ruleset ee789d20f5 Updated nuget packages. 5 ani în urmă
SharpGLTF.sln 8cfa448af4 version bump 5 ani î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 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