Skip to content

anelad/gltf_scenekit

 
 

Repository files navigation

GLTF extension for SceneKit

  • Compilable for macOS and iOS
  • Objective-C support
  • swift package
  • Morph animation
  • Skin and joint animation
  • Optimise buffer unpacking
  • Support *.glb
  • GLTF swift extension with wrapper for JSONDecoder
  • Tests

Example:

import gltf_scenekit

let directory = "..." // path folder with gltf resources
let decoder = JSONDecoder()
let glTF = try? decoder.decode(GLTF.self, from: jsonData)
let scene:SCNScene = scene = glTF?.convertToSCNScene(directoryPath:directory)

About

GLTF extension for SceneKit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%