Its a massively sophisticated piece of equipment :-) A simple sheet of transparent material reflects whatever is being shown on the screen up into the users field of view just like in a hand bearing compass or the heads up display in a plane. I got the idea after making a holoprojector like the ones in this video. There are several videos on you tube showing how to make one from a CD case. I made a simple ghost sample app in about 20 minutes in Unity. It uses the compass to navigate in the world and see creepy creatures :-) How well it works is highly dependent on the contrast in the image and the ambient light levels which make it quite hard to photograph too. Well, its a conversation starter for the upcoming SVVR meetup this week if nothing else :-) |
Now, Who ya gonna call?
using UnityEngine;
using System.Collections;
public class mems : MonoBehaviour
{
// Use this for initialization
void Start ()
{
Input.compass.enabled = true;
Input.location.Start();
Screen.sleepTimeout = (int)SleepTimeout.NeverSleep;
}
void OnGUI()
{
transform.rotation = Quaternion.Slerp(transform.rotation, Quaternion.Euler(0,Input.compass.magneticHeading, 0),Time.deltaTime*2);
}
}