Book Image

HoloLens Beginner's Guide

By : Jason M. Odom
Book Image

HoloLens Beginner's Guide

By: Jason M. Odom

Overview of this book

HoloLens revolutionizes the way we work and interact with the virtual world. HoloLens brings you the amazing world of augmented reality and provides an opportunity to explore it like never before. This is the best book for developers who want to start creating interactive and intuitive augmented reality apps for the HoloLens platform. You will start with a walkthrough of the HoloLens hardware before creating your first app. Next you will be introduced to the various HoloLens sensors and find out how to program them efficiently so that they can interact with the real world seamlessly. Moving on, you will learn how to create smart animations and add video overlay that implements real-time tracking and motion-sensing abilities to your HoloLens app. Finally, you will learn how to test your app effectively.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Installing the software


Now, we will get our development environment installed and set up so that we can start building the next killer app for HoloLens. We will start with our main tools, Visual Studio and Unity HoloLens technical preview, and then add the extensions that will help speed things along.

Installing Visual Studio

Microsoft has made the installation process for Visual Studio very simple. Just be warned that it can take a while to download and install it:

 

  1. Click on Download Community 2015; this is a free version of Visual Studio that works well with Unity and the HoloLens environment. By default, you should be installing at least Visual Studios 2015 Update 3.
  1. Run vs_community. exe and complete the installation process.
  2. Create a Microsoft Developers account (this is a requirement for the HoloLens development).
  3. The first time you run VS2015, you will be prompted to input your account credentials.

Unity HoloLens technical preview

Now, we will install Unity HoloLens technical preview. At the time of writing this, version 5.4. 0f 3 is the most recent and stable version. This is a custom version of Unity made to work specifically with HoloLens. As a result, it does automate a few processes for HoloLens developers:

To install Unity HoloLens technical preview, we will need to perform the following steps:

  1. Go to https://unity3d.com/partners/windows/hololens.
  2. Scroll down to the bottom of the page.
  3. Click on the Unity Download Assistant.
  4. Follow the instructions to complete the installation process.
  5. You will need to create an account with Unity.

Visual Studio 2015 tools for Unity

In your web browser, go to https://visualstudiogallery.msdn.microsoft.com/8d26236e-4a64-4d64-8486-7df95156aba9. Later, click on the Download button and run vstu2015.exe:

HoloLens emulator

To install the HoloLens emulator, perform the following steps:

  1. Go to http://go.microsoft.com/fwlink/?LinkID=823018.
  2. Run EmulatorSetup.exe once it finishes downloading.
  3. Install the emulator.

Note

This will not install if you do not have Windows 10 Pro installed on your development PC.

  1. This installation process can take a while.

HoloToolkit-Unity

To install HoloToolkit-Unity, perform the following steps:

  1. Enter https://github.com/Microsoft/HoloToolkit-Unity in your browser.
  2. Click on Clone or download.
  3. Click on Download ZIP.
  4. Once the ZIP file is downloaded, unzip the file to your desktop; we will copy this into our project later.