This is a static library based on Vuforia, make AR application on iOS easier. It supports Obj model loading and basic controlling.
Download the Vuforia SDK for iOS and upack it to the external-deps
folder.
If you wanna see the demo, follow steps below:
-
Create a Vuforia license key
- follow steps here, you can get a Starter plan free of charge after registeration.
-
Copy your License key to the right place (a value of
AR_CONFIG_INIT_FLAG
key) in AppDelegate.m -
Run the ARDemo target of project ARDemo
If you wanna create a static library, Run the createARLib target of project ARDemo. This create the necessary resources, including a bundle, a header file and a static lib, in the directory output
.
Run the TestARLib project to test the lib. Don't forget to copy your License Key firstly.
You can customize the app with a confiuration, which is need when instantiating ARViewController
. Datasets and models configuration are supported.
AR_CONFIG_DATA_SETS
: to configure datasetsAR_CONFIG_MODEL
: to configure 3D models
Camera view distorts when rotating device?
- Actually the rotaion is locked in the ViewController, if it donesn't work in Xcode 7, you can try to click Requires full screen
in General pannel of xcode.
- Loading models in background;
- Add exit protocol;
- Support simutaneous targets;
- Support illumination model;