glTF loader for SceneKit (swift)
Using CocoaPods
Add the following to your Podfile:
pod 'GLTFSceneKit', :git => 'https://github.com/ennikin-skywalker/GLTFSceneKit.git'
import GLTFSceneKit
var scene: SCNScene
do {
let sceneSource = try GLTFSceneSource(named: "art.scnassets/Box/glTF/Box.gltf")
scene = try sceneSource.scene()
} catch {
print("\(error.localizedDescription)")
return
}
GLTFQuickLook - QuickLook plugin for glTF files