https://github.com/interactivetech/vuforiascenekit
Integrating Vuforia and Scenekit, inspired from yshrkt/VuforiaSampleSwift
https://github.com/interactivetech/vuforiascenekit
Last synced: about 1 year ago
JSON representation
Integrating Vuforia and Scenekit, inspired from yshrkt/VuforiaSampleSwift
- Host: GitHub
- URL: https://github.com/interactivetech/vuforiascenekit
- Owner: interactivetech
- Created: 2017-02-18T18:55:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-19T23:27:56.000Z (over 9 years ago)
- Last Synced: 2025-02-10T05:25:20.174Z (over 1 year ago)
- Language: C++
- Size: 32.7 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VuforiaSampleSwift
Vuforia sample code with SceneKit using Swift.
Me adding some fixed to get it to run nice on an iPhone 6+
## Requirement
* Xcode 8
* iOS 9.3+
* Vuforia SDK for iOS v6.2.6
## Setup
* Download Vuforia SDK for iOS.
[Vuforia SDK](https://developer.vuforia.com/downloads/sdk)
* Put the SDK on your path as like bellow:
`VuforiaSampleSwift/VuforiaSampleSwift/vuforia-sdk-ios-6-2-6`
* Download Vuforiat Sample Targets.
[Vuforiat Sample](https://developer.vuforia.com/downloads/samples)
* Put your targets on your path as like bellow:
`VuforiaSampleSwift/VuforiaSampleSwift/VuforiaAssets/ImageTargets`
* If you needs to fix to links to these files and settings in project, fix it.
If you failed to build, check `Header Search Paths` and `Libarary Search Paths` in Build Settings.
* Set your `lincenseKey` and `dataSetFile` in ViewController.swift.
## Usage
See ViewController.swift.
``` swift
vuforiaManager = VuforiaManager(licenseKey: "your license key", dataSetFile: "your target xml file")
if let manager = vuforiaManager {
manager.delegate = self
manager.eaglView.sceneSource = self
manager.eaglView.delegate = self
manager.eaglView.setupRenderer()
self.view = manager.eaglView
}
vuforiaManager?.prepareWithOrientation(.Portrait)
...
do {
try vuforiaManager?.start()
}catch let error {
print("\(error)")
}
```
## ScreenShot

## Thanks
I am referring to the following page.
* [Making Augmented Reality app easily with Scenekit + Vuforia (in English)](http://qiita.com/akira108/items/a743138fca532ee193fe)