Each of the platform variations in this chapter have been using the Vuforia VR toolkit. If you prefer the free open source ARToolkit you can implement the project using the following steps.
In this section, we will use open source ARToolkit in Unity on a Window 10 development machine and targeting an Android device. This is mostly a step-by-step walk-through. If you want a better explanation please refer back to the previous corresponding section and the ARToolkit section in Chapter 2, Setting Up Your System.
Let's jump right in:
- Create a new 3D project in Unity, named
BusinessCardART
. - Import the ARToolkit asset package (for example,
ARUnity5-5.3.2.unitypackage
) usingAssets | Import Package | Custom Package....
Create the AR Controller object.
- Add an empty object using
GameObject | Create Empty
namedAR Controller
. - Click
Add Component
and addARController
to it. - Make sure the component script's
Video Options
'Layer
attribute is set toAR Background
...