https://github.com/schwa/swiftgltf
https://github.com/schwa/swiftgltf
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/schwa/swiftgltf
- Owner: schwa
- License: bsd-3-clause
- Created: 2022-06-04T22:08:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T00:23:01.000Z (about 1 year ago)
- Last Synced: 2025-05-07T08:12:36.922Z (11 days ago)
- Language: Swift
- Size: 14.1 MB
- Stars: 36
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SwiftGLTF
A Swift library for loading, parsing and viewing GLTF files using RealityKit and/or SceneKit.

## Features
* Loading, parsing and introspecting GLTF and GLB files.
* Converting GLTF models into RealityKit Entities## Package Contents
* SwiftGLTF - SwiftPackage for loading and conversion of GLTF/GLB files.
* SwiftGLTFViewer -- macOS CLI project for viewing files. This project downloads the latest version of the KronosGroup GLTF sample models and displays them in a RealityKit view.## Status
Incomplete. Currently only supports a subset of the [GLTF 2.0](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html) spec - not all KronosGroup sample models will load or render correctly.
## Caveats
This code is incomplete "hobby" code and should probably not be used in production. See CAVEATS.md for more details.
## License
SwiftGLTF is available under the BSD 3 clause license. See the LICENSE file for more info.