Hello! I’m Ben and welcome to this Unity Project folder known as the “Hack the Hologram Kit”. Hopefully by now you’ve been able to locate and download this folder through the Looking Glass forum hub (this page) or through the official website. It is best to open the project, have your HoloPlayer One set-up, and follow along with this guide for optimal results. This helpful guide is designed for a HoloPlayer One that is good to go and linked to Unity. If you need assistance setting up your HoloPlayer One, please refer to this tutorial.
This kit is best viewed as a resource to jump start HoloPlayer One projects in Unity! Scripts and scenes alike. This information has been compiled from observing the most likely candidates for holo projects or games starting out. There are a lot of commented out sections in scripts for help. This is designed for Intermediate Unity users, but accessible to a certain degree by beginners.
Inputs are as follows; the 1234 buttons on the HoloPlayer system or 1234 keys on keyboard. 1 will access special options in various example scenes, 2 will toggle the text on and off, and 3/4 will move through scenes on run mode to the previous or latter respectively. In original iterations of this project, space and arrows were used. The buttons are to accommodate the newest editions of the developer kits complete with buttons.
Every example scene will have two things in common: the ‘HoloPlay Capture’ object and the ‘RealSense Manager’. They are prefabs as part of the HoloPlay SDK that has been pre-imported into the project folder for convenience. For example, the very first basic scene has a HoloPlay Capture prefab placed into it at vector zero (0, 0, 0); our main tool for visualization. As well, at the same place, the RealSense calibrator is there which is our tool for interaction.
You can modulate the HoloPlay Capture attributes such as size or more under the ‘advanced’ dropdown in the “HoloPlay” component. Though, best to leave this alone for now until you get the hang of things. In later scenes, we will be moving the Capture object around. The child of the HoloPlay Capture is a ‘HoloPlay Camera’ that is our main visual for visuals. For starting out, again, it is best to leave this child camera alone. Though, this is the object you could add post-processing effects to or more depending on your level of experimentation.
The RealSense Manager enables access to the HoloPlayer’s embedded Intel RealSense camera and allows for single touch calibration. Its child object is important to interaction as well: the “RealSense Cursor”. It is initially a sphere mesh and is the object that follows our touch in the floating light above the system. For almost all of touch interaction: a 1.) Rigidbody component and 2.) (Sphere) Collider component needs to be added to it. The Rigidbody gravity should be set to off and make it ‘kinematic’. Both components make it recognizable to other collisions which have the same two components.
After you play around with what it feels like to move a cursor to your single point, you can advance to scene 1: touch! Have fun.
EACH SPECIFIC SCENE OF THE KIT WILL GET ITS OWN SPECIAL BLOG WALKTHROUGH AND VIDEO WALKTHROUGH TO COME! THESE WILL BE RELEASED OVER TIME. THE SCENES THEMSELVES ARE DIRECT AND SIMPLE TO UNDERSTAND, HOWEVER. HAPPY HACKING.