Go to file
Volodymyr Boichentsov fcd97f0c46 fix os to build for 2018-05-18 15:29:10 +01:00
Draco@edf77754b1 update 2018-05-17 12:30:10 +01:00
Sources/glTFSceneKit test on metal device 2018-05-18 12:03:31 +01:00
Tests fix path 2018-05-16 12:50:49 +01:00
glTFSceneKit.xcodeproj fix os to build for 2018-05-18 15:29:10 +01:00
.gitignore add Draco submodule 2018-05-17 11:17:10 +01:00
.gitmodules add Draco submodule 2018-05-17 11:17:10 +01:00
LICENSE Create LICENSE 2017-11-12 19:54:50 +00:00
Package.resolved add Draco submodule 2018-05-17 11:17:10 +01:00
Package.swift make draco included in glTFSceneKit 2018-05-17 14:42:27 +01:00
README.md single convert method; 2018-05-04 09:22:37 +01:00
glTFSceneKit-Bridging-Header.h make draco included in glTFSceneKit 2018-05-17 14:42:27 +01:00

README.md

GLTF extension for SceneKit

General

  • Compilable for macOS and iOS
  • Objective-C support
  • swift package
  • GLTF swift extension with wrapper for JSONDecoder
  • Tests
  • Convert SceneKit to GLTF

Encodings

  • JSON
  • Binary (.glb)

Primitive Types

  • Points
  • Lines
  • Line Loop
  • Line Strip
  • Triangles
  • Triangle Strip
  • Triangle Fan

Animation

  • Transform animations
  • Linear interpolation
  • Morph animation
  • Skin and joint animation

Extensions

  • KHR_draco_mesh_compression - Draco (supported draft version, need to fix when indices is short)
  • 3D4M_compressed_texture - Draft of unofficial extension.

Dependecies

Example:

import glTFSceneKit

let directory = "..." // path to folder where is gltf file located
let decoder = JSONDecoder()
let glTF = try? decoder.decode(GLTF.self, from: jsonData)
let scene = glTF?.convert(view:sceneView, directoryPath:directory)