Book Image

Microsoft HoloLens By Example

By : Joshua Newnham
Book Image

Microsoft HoloLens By Example

By: Joshua Newnham

Overview of this book

Are you a developer who is fascinated with Microsoft HoloLens and its capabilities? Do you want to learn the intricacies of working with the HoloLens SDK and create your own apps? If so, this is the book for you. This book introduces and demystifies the HoloLens platform and introduces new ways you can interact with computers (Mixed Reality). It will teach you the important concepts, get you excited about the possibilities, and give you the tools to continue exploring and experimenting. You will go through the journey of creating four independent examples throughout the book, two using DirectX and two using Unity. You will learn to implement spatial mapping and gesture control, incorporate spatial sound, and work with different types of input and gaze. You will also learn to use the Unity 5 SDK for HoloLens and create apps with it. Collectively, the apps explore the major concepts of HoloLens, but each app is independent, giving you the flexibility to choose where to start (and end).
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
6
Interacting with Holograms Using Unity

The project


As a kid, I spent countless hours playing Cannon Fodder, a war-themed action game developed by Sensible Software. As a player, you controlled a squadron of soldiers to complete a mission. The controls were simple--click on an area you would like your squad to go to. If any enemies were spotted, your squad would happily open fire. As you progressed through the levels, you had the opportunity to have your squad jump into military vehicles.

The following is the screenshot of the game Cannon Fodder:

Screenshot from the 1993 computer game Cannon Fodder developed by Sensible Software, Source: Screenshot.  

It is this game that inspired this example, but the environment through which you navigate your squad is replaced with the real world instead of a virtual one! Obviously, this example does not do this game justice, but I think you will agree that, as a concept, this could be an entertaining game. In addition to navigating around the real world, I swapped out the concept of war with...