1. Displaying Holograms - sorianog/RollABallMR GitHub Wiki

To display holograms in the HoloLens, the “Roll-a-ball” project had to be rebuilt and compiled with specific settings. In Unity selecting “File”, then “Build Settings” will display the settings window for building a project. Then “Windows Store” had to be selected in the “Platform” list and “Switch Platform” was clicked. Under “Windows Store”, “SDK” was set to “Universal 10”, “Target device” was set to “HoloLens”, “UWP Build Type” as set to “D3D”, and “Unity C# Projects” was checked, as seen in Figure 1 below. “Player Settings” in the “Build Settings” window was clicked to bring up the Inspector window to verify that “Windows Holographic” was listed as an SDK.

Figure 1. Unity settings for AR - HoloLens build configuration (personal image).

Clicking “Build” brings up a file explorer to save the application in. A separate folder, named “App” was created to store the built application. After a successful build, the “App” folder in the Unity project will contain a “.sln” file that can be opened in Visual Studio. The built app was named “Roll A Ball - Holographic”. Once this file was opened, the HoloLens was connected to the development machine, and the project was compiled, installed, and executed onto the device. These initial setup steps are based on the information under the “Chapter 1 - "Holo" world”, “Export the project from Unity to Visual Studio” sections in the “Holograms 101” tutorial from Windows Dev Center.

Once the project was rebuilt and it was verified that it ran successfully, areas of further development were identified for “Roll A Ball - Holographic”. These areas were tracking head movements, game audio, displaying text, and voice commands.