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

Hello World!, as its customary


A long held tradition in programming is to write a simple program called "Hello, World!" as your very first program. This program normally prints the words "Hello, World!" on the screen, and is used as a starting point to understanding the basics of a new programming language or development environment. This is a tradition that dates back to at least 1972, but potentially even further back to 1967.

Here, we will create a "Hello, World!+". We will use it to further familiarize you with Unity, beyond the basic layout of the preceding chapter. In an effort to avoid repeating steps, we will build onto this project throughout the rest of the book.

The layout of a HoloLens project

The most basic Unity project is made up of at least one scene. Any new scene will contain a directional light and main camera. The HoloLens uses this camera as the user's point of view, so we will need to make a few changes to the default starting scene to suit our needs.

Here, we will set...