GDG-VR-AR-CodeLab

Importing Packages

The packages can be imported like follows: Assets->Import Package->Custom Package

The CodelabDemo.unitypackage contains the scenes and Unity folder of the codelab.

The Demo_Images.unitypackage is the package for Vuforia stones-hire image database.

CardboardSDKForUnity.unitypackage contains the Cardboard SDK.

vuforia-unity-5-0-5.unitypackage is the Vuforia SDK for Unity. It contains ARCamera, ImageTarget etc.

License keys

You can use this License key or create one on your own:

AYvLKW3/////AAAAASwlMj5w2EytlSNnjBlAfylhGOR2uJsgekDudcMU6kkZdE6tQMAusFXX2GubihViu4YA4qT+i+JyTXEt+qvL9J/g31I6cVI86ObyN4X2FgxXJBeJHgTj+KKyRkMlLsC8UxYMLSTIc0zzfADuSM53tWi8H9ojHSOTxuBG9HLv/062gv1tQN58Ldowz2kx8hXgLTepRKf/L+G3JqTPQu2qKovxhblXUO9dvid/JiTvmDOojxPsYrvlDBa2QB1ynTDc2WBy15KCrc8O7uQiHXBEvafIFuCAIPPBWUDne0t+x/YXxwE20EDuVKiSFzsLjOYbAtLyDq6D9FxFD+TrJGNGwgEw2RBdb4uCus7fnrvKEJML

Resources

Vuforia Developer Portal for AR

Unity Tutorials

Cardboard Unity SDK guide

Cardboard Design Guidelines

3D models can be downloaded from the internet or from the Unity Asset Store. One of the websites is: Archive3D

A guide on models supported in Unity can be found here

For model format conversion Blender can be used.

A basic outline on Android Developer Environment setup for Unity. While building for Unity under Player Settings for Android the Bundle Indetifier and company's name needs to be changed. The scene also needs to be included.

Some things for AR

Select “ARCamera” and in Inspector panel, under “Dataset Load Behaviour (Script)”, “Load Data Set Image_Targets” and “Activate” needs to be checked(selected).

Make sure that all the required augmented objects are children of ImageTarget.

Make sure that License key is entered in ARCamera in Inspector Panel.

Unity Installation

Unity setup can be found here