Building the project for AR Toolkit

Let's begin building the project with AR Toolkit. We will assume you have a SolarSystem prefab as described previously. If not, you must have exported it into a Unity package; use Assets | Import Package | Custom Package to import SolarSystem.unitypackage now. Also, import the AR Toolkit package:

  1. Import the ARToolkit asset package (for example, ARUnity5.unitypackage).
  2. Create an AR Controller. In Hierarchy, create an empty object named ARController.
  3. Go to Add Component | ARController and verify the AR Background layer is set in Video Options.

When we created our bar code markers (in the previous section), we made them AR_MATRIX_CODE_3x3 types. So, in Square Tracking Options of ARController, perform the ...

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.