Setting up the project for HoloLens

We decided to name this version of the project How to Change a Tire - Holo. Open the project in Unity, and set it up for HoloLens development using the HoloToolkit:

  1. With the old Main scene open, select File | Save Scene As and name it Main-Holo.
  2. Select File | Build Settings and replace Main with Main-Holo in the Scenes To Build.
  3. Switch platforms to the Windows Store. We will let the toolkit set the other configurations.
  4. Import the MixedRealityToolkit package (if you haven't downloaded it yet, you can find it at https://github.com/Microsoft/MixedRealityToolkit-Unity ).
Note that the following Unity Editor menu item names may have changed in your version of the toolkit.
  1. Choose main menu Mixed Reality | Configure | Apply HoloLens Scene Settings and accept all the settings. This sets the Camera Settings for you.
  2. Save the scene.
  3. Choose main menu Mixed Reality | Configure | Apply HoloLens Project Settings and accept all the settings. This sets the Build Settings for you, and restarts Unity.
  4. Choose main menu Mixed Reality | Configure | Apply HoloLens Capability Settings and accept all the settings. This sets the Player Settings for you.
  5. Save the scene and save the project.

Also, import the ARGraphics package. We have created a Unity package with graphics we can use. This package includes arrow graphics and other prefabs used in the augmented instruction content. If you haven't already, please download the file ChangeATire-ARGraphics.unity from the publisher's site for this book.

From main menu, select Assets | Import Package | Custom Package..., find the ChangeATire-ARGraphics package, and import it.

The project is now ready to port the content to AR.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset