Introduction to Developing for the Vuzix M300 with Unity

Introduction

Beginning with Vuforia 7.0 and Unity 2017.3, Vuforia has added support for creating Augmented Reality applications for the Vuzix M300 eyewear device.

Prerequisites

In order to create applications for the Vuzix M300, the following is required:

  • Unity 2017.3 or Later
  • Android Build Support for Unity
  • Vuforia Augmented Reality Support for Unity

Creating your First Vuzix M300 Application

  1. Open Unity and create a new project
  2. Enable Vuforia in the XR settings following these instructions
  3. Be sure to switch to the “Android” platform in the Build Settings Window
Vuforia Image
  1. Replace the default “Main Camera” with an ARCamera. In the GameObject Menu select: Vuforia> AR Camera to create a new AR Camera object in the scene. Remove the default “Main Camera” from the scene.
  2. A dialog will appear asking to import assets. Click “Import” to continue
Vuforia Image
  1. Add an Image Target to your Scene from the GameObject menu Vuforia> Image. By default, the Image Target will load with the predefined Mars Images Database. To create your own image targets, read more on creating your own database
Vuforia Image
  1. Add your own 3D content as a child of the Image Target in the hierarchy. Content placed on Vuforia Targets will automatically appear relative to real-world objects when running in Play Mode or on Device
Vuforia Image
  1. Optionally, test your application using Unity Play Mode and a webcam
  2. To deploy to the M300, continue onto the next set of instructions

Deploy your Application to the Vuzix Vuzix M300

  1. Under “Player Settings” window, the “Other Settings” pane (Edit Menu, Settings > Player) updated the following settings:
    • Set “Device Filter” to “x86”
    • Set “Android TV Compatibility” to unchecked
Vuforia Image
  1. In the Vuforia Configuration, set the following settings (Window Menu, Vuforia Configuration)
    • Digital Eyewear: “Device Type” to “Digital Eyewear”
    • Digital Eyewear; “Device Config” to “Vuforia”
Vuforia Image
  1. In the QualitySettings panel (Edit Menu, Project Settings>Quality) set the Default Android Quality Level to “Very Low”
Vuforia Image
  1. Using the Unity “Build Settings” window, select “Build and Run” to build and deploy your Vuzix experience onto the M300 (File Menu, Build Settings…)
  2. Consider uploading your APK to the Official Vuzix App Store