CMZTECH.NET
  • Blog
  • Graphics
  • Virtual Reality
  • 3D Printing
  • Fun Stuff
  • Contact

i just invented the cell phone hud!

8/3/2015

0 Comments

 
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 :-)


Picture
Picture

Now, Who ya gonna call?

Sample Code:
//This script attached to the camera lets you rotate it around the Y axis.


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);
   }

}

0 Comments



Leave a Reply.

    David Coombes

    Making stuff

    Categories

    All
    3D Graphics
    3D Printing
    3D Scanning
    AI
    Blender
    Cycling
    Development
    Environment
    Futurism

    Archives

    February 2023
    November 2022
    April 2022
    February 2022
    January 2022
    February 2021
    January 2021
    November 2020
    May 2020
    April 2020
    March 2020
    February 2020
    December 2019
    November 2019
    September 2019
    August 2019
    July 2019
    January 2019
    December 2018
    October 2018
    August 2018
    June 2018
    April 2018
    March 2018
    February 2018
    January 2018
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    January 2017
    September 2016
    August 2016
    July 2016
    May 2016
    April 2016
    March 2016
    December 2015
    November 2015
    August 2015
    July 2015
    June 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014

    RSS Feed