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

Creating a mixed reality app


Microsoft defines an MR application as an application developed for the Windows 10 Universal Platform, utilizing the holographic rendering, gaze, gesture, motion, and voice APIs. In this chapter, and in the next, we will focus on building MR applications using DirectX 11, C#, and SharpDX (C# wrapper for DirectX 11); alternatively, you can follow along using C++.

Note

DirectX is a large topic (and one of many); it is not the intention of this book to cover DirectX, but to use it as a platform to illustrate the examples presented in this book. For a more comprehensive look at DirectX, for C#, I recommend Direct  3D Rendering Cookbook by Justin Stenning ( Direct3D Rendering Cookbook ).

We will start by walking through the Visual C# Holographic DirectX 11 App Template, focusing on sections related to HoloLens, before moving on to extend it for the example of this chapter.

To begin with, ensure that you have all the dependencies installed; details of these can be found...