A Swift library for loading, parsing and viewing GLTF files using RealityKit and/or SceneKit.
- Loading, parsing and introspecting GLTF and GLB files.
- Converting GLTF models into RealityKit Entities
- 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.
Incomplete. Currently only supports a subset of the GLTF 2.0 spec - not all KronosGroup sample models will load or render correctly.
This code is incomplete "hobby" code and should probably not be used in production. See CAVEATS.md for more details.
SwiftGLTF is available under the BSD 3 clause license. See the LICENSE file for more info.