# Interactive Holograms

9,965

54

10

You may have come across other tutorials for creating pyramid "hologram" projectors. In this Instructable, we will build upon these tutorials and implement an scaled-up interactive holographic interface (a bit like those seen in movies like Avatar and Iron Man) and use it to play some games, watch videos and make our own custom "holograms".

Heads up: This is my first Instructable so don't get put off by the number of steps - they're all pretty short :)

## Step 1: Things You'll Need:

For the projection...

• 4 x A4 sheets of Acetate paper (this can be substituted with anything that's transparent - plexiglass, CD cases...)
• 1 x Sheet of A4 Paper (optional but recommended)
• Scissors (or paper trimmer)
• Ruler
• Compass (optional but recommended)
• Sticky tape
• Monitor/Screen
• Some chunky books (or blocks)

For interacting with the projection

• Webcam
• Computer (running Windows)

## Step 2: Preparing the Cutting Guide.

Measure the size of your screen (this is the distance from the top left to the bottom right).

On a piece of A4 paper, construct an equilateral triangle with sides half the length of the screen size.

Now, draw a line across two sides of the triangle, parallel to the third. It should be about three-tenths of the triangle's side length. This should produce an isosceles trapezoid.

Cut out the trapezoid.

## Step 3: Building the Projection Pyramid

Using the paper trapezoid from the last step as a guide, cut the sheets of acetate paper to size.

Using sticky tape, stick the sides of the acetate trapezoids together to make a pyramid.

## Step 4: Preparing the Projector

Take the screen/monitor and remove any stands (these should be easy).

Balance it over some chunky books (or blocks) facing upwards.

Place the projection pyramid over it.

## Step 5: Viewing Things

This set-up already works - search up "holographic video" on YouTube and you'll be spoilt for choice. Try out this, this and this.

Simply stick the pyramid in the middle of the screen and enjoy the show :3

Spectacular, isn't it? You could just stop here... OR you could go onto the next step.

## Step 6: Getting Ready to Interact

Take the webcam and mount it to the side of the screen. If you're using a built-in webcam, don't worry, either way, make sure that the webcam has a clear, unobstructed view of where you plan to interact from.

Take the brightly coloured object (it could be a coloured glove or anything - just make sure it's distinct from everything else in the webcam's view)

Download this package. It contains some webcam tracking software and a basic 3D modelling application (I'm quite sure it's safe - I wrote it :P ). It's 10mb in size.

And, if you're in the mood for some games, download this package containing holographic versions of Fez, Minecraft and a cool holographic car show. It's 90mb in size.

## Step 7: Open the Tracking Program

From the first package, locate ExBawx.exe (inside the Tracking folder). Open it up.

The user interface should be quite self-explanatory.

## Step 8: Adjust Camera Settings

Click on the Camera tab. You should be presented with the camera settings. Click on "Adjust Camera" and play with contrast, brightness and saturation until your coloured object stands out.

## Step 9: Add a Marker

Click on the Tracking tab. This will bring you to some marker settings. Hold the coloured object in front of the camera and click Add Marker. The camera feed should freeze, allowing you to select the marker by clicking on it's centre and dragging outwards. If something goes wrong, simply select the marker in the Edit Markers drop-down box and click on Delete Marker.

Move the coloured object around, it should be surrounded by a box.

## Step 10: Linking to the Application

Finally, go onto the Game tab.

Click on Select Data File. Find the game you want to play and open up it's data file

C:/..../NameOfGame/NameOfGame_Data

Select "MouseData.md" and click open. Now, click the Start button.

This is the end of the set-up process.

## Step 11: Interacting With the Holograms

Open the game up on your monitor and move the coloured object around. Moving moving up, down, left and right should rotate objects, moving it forwards and backwards should zoom in/out.

Here are some instructions for each of the applications:

• Holololol Builder: Create objects with the editor and then click on "Save and View" to view a hologram. At the moment, there isn't any permanent saving but it will be implemented soon.
• Hologram Demo 1: This application allows you to view 3 holograms - a cube, a car and a fighter jet. You can rotate them and zoom in and out. Swipe quickly left and right to change hologram.
• HoloFez: A basic holographic parody of Fez you can swipe quickly left and right to rotate the world but keyboard input is required to move the player (A,S = Movement, Space = Jump)
• MeineKraft: An angry, more Germanic version of Minecraft. Move your coloured object around to navigate the endless procedural world.

## Step 12: Final Notes

And there you have it!

Just some final notes before we finish:

• The "holograms" display better in the dark - but be warned, you may have to use a flashlight or something to make sure the coloured object is visible to the camera.
• These aren't real holograms per-se. They're called the Pepper's Ghost Effect and are mere projections.
• If you have any question, give me a shout in the comments and I'll do my best to help.
• I DO have source code and a "hologram" API for Unity - if you want to get your hands on it, give me a shout in the comments or drop me a message. If you make anything cool I can feature it on here :)
• The tracking software is under the Microsoft Public License (Ms-PL)
• COMING SOON TO THIS INSTRUCTABLE: HOLOGRAPHIC VIDEO PLAYER

Thank You and Please Like :)

## Recommendations

• ### Internet of Things Class

18,908 Enrolled

## 10 Discussions

Hey can I get the codes for the mousedata programs?
I would like to be able to write the code for other such Models and images.

hi can you share the source code by any chance?

when i saw the "holographic display flood", i thought: why not make it interactive instead of being limited to youtube videos....

Well done!

i try again and this is what i got

Holololol.zip blocked may contain a virus or spyware onedrive-live.com-200

sorry again that the message i got thank you a very nice instructable on this

god bless stay safe

to peterthehe no sorry using firefox it gives me a part file then says to remove file

it does that when it thinks there maybe a virus will try again maybe it will download this time with a full file

if it do then thanks