Building and running from Unity

In the previous chapter, we saw how to create a new project in Unity; import an AR SDK package, such as Vuforia or ARToolkit, into the project; and build a scene with a camera, target image recognition, and virtual object (cube). To summarize, a Unity AR-ready scene, such as the demo scene we built in the previous chapter, should contain the following:

  • A camera with SDK-specific AR components attached
  • A game object representing an image target, with an SDK-specific component identifying the image to use and where to find it
  • Game objects to render when the target is recognized at runtime, parented by the target, and registered to the target's position in the 3D space
  • The scene hierarchy, arranged according ...

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.