Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vpenades/SharpGLTF
glTF reader and writer for .NET Standard
https://github.com/vpenades/SharpGLTF
3d csharp gltf gltf2 graphics loader
Last synced: 3 months ago
JSON representation
glTF reader and writer for .NET Standard
- Host: GitHub
- URL: https://github.com/vpenades/SharpGLTF
- Owner: vpenades
- License: mit
- Created: 2019-02-02T21:00:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T08:24:19.000Z (5 months ago)
- Last Synced: 2024-08-25T11:56:11.984Z (5 months ago)
- Topics: 3d, csharp, gltf, gltf2, graphics, loader
- Language: C#
- Homepage:
- Size: 96.4 MB
- Stars: 467
- Watchers: 19
- Forks: 75
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![GitHub](https://img.shields.io/github/license/vpenades/SharpGLTF)
[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/SharpGLTF.Core)](https://www.nuget.org/packages?q=sharpgltf)
[![Join the chat at https://discord.gg/ecGAbsUDbB](https://img.shields.io/discord/750776153681166467?color=%237289DA&label=SharpGLTF&logo=discord&logoColor=white)](https://discord.gg/ecGAbsUDbB)
---### Overview
__SharpGLTF__ is a 100% .NET Standard library designed to support [Khronos Group glTF 2.0](https://github.com/KhronosGroup/glTF) file format.
The library is divided into these main packages:
|Library|Nuget|Function|
|-|-|-|
|[__SharpGLTF.Core__](src/SharpGLTF.Core/README.md)|[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/SharpGLTF.Core)](https://www.nuget.org/packages/SharpGLTF.Core)|Read/Write file support, and low level access to the glTF models.|
|[__SharpGLTF.Runtime__](src/SharpGLTF.Runtime/README.md)|[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/SharpGLTF.Runtime)](https://www.nuget.org/packages/SharpGLTF.Runtime)|Helper classes to simplify gltf model rendering.|
|[__SharpGLTF.Toolkit__](src/SharpGLTF.Toolkit/README.md)|[![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/SharpGLTF.Toolkit)](https://www.nuget.org/packages/SharpGLTF.Toolkit)|Convenience utilities to help create, manipulate and evaluate glTF models.|Additionally, there's some optional extension libraries available:
- __SharpGLTF.Ext.Agi__
- [__SharpGLTF.Ext.3DTiles__](src/SharpGLTF.Ext.3DTiles/README.md)#### Quickstart
A simple example of loading a glTF file and saving it as GLB:
```c#
var model = SharpGLTF.Schema2.ModelRoot.Load("model.gltf");
model.SaveGLB("model.glb");
```More examples can be found [here](examples) and in the Test project.
#### Appendix
- [Khronos Group glTF-CSharp-Loader](https://github.com/KhronosGroup/glTF-CSharp-Loader)
- [Khronos Group UnityGLTF](https://github.com/KhronosGroup/UnityGLTF)