Beyond the Screen: Crafting Your First Hologram App in 30 Minutes with Looking Glass Go.
Remember those futuristic movies
where characters manipulate 3D images floating in mid-air? That future isn't
just arriving; it’s becoming something you can build. And believe it or not,
with tools like Looking Glass Go and a bit of Unity know-how, you can create a
genuine holographic app in about half an hour. Intrigued? Let’s dive in and
demystify the magic.
Why Holograms, and Why Now?
Traditional screens trap us in a flat world. Holography, specifically the light field technology pioneered by Looking Glass Factory, breaks us free. Instead of one flat image, their displays project multiple views simultaneously. Walk left, and you see the left side of the object; walk right, and you see the right side. It creates a true sense of depth and volume you can look around, without needing silly glasses. It’s not science fiction; it’s volumetric display technology becoming accessible.
The Looking Glass Go is their
most portable and affordable unit yet – perfect for developers and creators
wanting to experiment. But how do you get your content onto it? That’s where
the Looking Glass Go SDK for Unity comes in, transforming the complex into the
achievable.
The 30-Minute Blueprint: Your Hologram App Journey.
Don't let the "30
minutes" fool you – this assumes you're familiar with the basics of Unity
(navigating the interface, importing assets). Think of it as building the core
holographic functionality. Polish and complex interactions come later. Here’s
your roadmap:
1. Gear Up (5 Minutes):
o
Looking
Glass Go: Obviously! Have it connected via USB-C to your development
machine.
o
Unity Hub
& Unity: Install Unity Hub and the latest 2022 LTS version of Unity (or
a version explicitly supported by the current Looking Glass SDK – always check
their docs).
o
Looking
Glass Go SDK: Download the latest Unity SDK package from the Looking Glass
Factory Developer Portal. This is your magic toolkit.
o
A 3D
Model: Find a simple model (OBJ, FBX, GLTF) to holograph-ize. A spaceship,
a teapot, a character – something you like! Free sites like Sketchfab or TurboSquid
are great.
2. Unity Project Setup (5 Minutes):
o
Fire up Unity Hub and create a new 3D project.
o
Once open, import the Looking Glass Go SDK
package (LookingGlass.UnityGo.unitypackage). Accept all defaults.
o Critical Step: Go to Edit > Project Settings > Player. Under Resolution and Presentation, set Fullscreen Mode to Windowed. Then, set the Default Screen Width to 1920 and Default Screen Height to 1080. The Go expects this resolution.
3. The Holographic Core (10 Minutes):
o
Delete
the Main Camera: Unity starts with one; you won't need it.
o
Summon
the Hologram Camera: Navigate to the Unity menu: GameObject > Looking
Glass > Create Looking Glass [Go]. Boom! This adds a specialized camera rig
pre-configured for the Go's unique light field.
o
Position
Your Model: Import your 3D model into the project (drag & drop into
Assets, then into the Scene Hierarchy). Position it roughly in front of the new
"Looking Glass Go" camera object in the scene view. Center is usually
good.
o
The
Secret Sauce - Light Field Material: Here’s where the holographic rendering
happens. Select your 3D model in the Hierarchy. In the Inspector, find its Mesh
Renderer component. You'll see its current material. Click the small circle
next to the material name. A selector pops up. Search for and select
"Light Field Render Material". This single step replaces traditional
rendering with light field rendering for your object! You should see the
preview in the Scene view change dramatically.
4. Calibration & Depth (7 Minutes):
o
Select
the Looking Glass Go Object: In the Hierarchy, click the "Looking
Glass Go" object.
o
Inspector
Tweaks:
§
Near Clip
Distance: This defines how close an object can be before it clips. Set it
slightly smaller than the closest part of your model (e.g., 0.1 or 0.2).
§
Far Clip
Distance: Set this slightly larger than the farthest part of your model
(e.g., 10.0).
§
Focal
Plane Distance: This is KEY. Imagine a vertical plane parallel to the
screen. Objects on this plane appear at the screen surface. Objects in front
pop out; objects behind recede. Adjust this value so the most important part of
your model (e.g., the cockpit of a spaceship) sits where you want it. The
Looking Glass Go object has a handy visualizer in the Scene view showing the
focal plane.
§
Depthiness:
Controls the perceived strength of the depth effect. Start around 0.5 and
adjust. Too high can cause visual artifacts, too low makes it look flat.
o
Hit
Play!: Press the Unity Play button. Your scene should render on your
computer monitor. Now, connect your Looking Glass Go (if not already), and it
should automatically mirror the display output. Physically move your head left
and right. Your 3D model should have real depth! This is the "wow"
moment.
5. Basic Polish (3 Minutes):
o
Add a
Background: The default checkerboard is functional but ugly. Create a
simple Plane object behind your model. Scale it large. Create a new basic
material (e.g., Unlit/Color), set it to a dark blue or black, and assign it to
the plane. Ensure this plane uses a standard material, NOT the Light Field
Render Material. Only your holographic object(s) should use that special
shader.
o Simple Rotation (Optional): Want it to spin? Add a Rotate.cs script to your model (Create > C# Script, name it "Rotate", open and paste: using UnityEngine; public class Rotate : MonoBehaviour { public Vector3 rotationSpeed; void Update() { transform.Rotate(rotationSpeed * Time.deltaTime); } }). Assign it, and set the rotation speed (e.g., (0, 30, 0) for a 30-degrees-per-second Y-axis spin).
Voila! You Have a Hologram App!
In roughly 30 minutes, you've
gone from a blank Unity project to an app displaying a volumetric hologram on a
Looking Glass Go. You've configured the specialized camera, applied the crucial
light field material, tuned the depth parameters for impact, and added basic
scene elements. That spaceship or teapot isn't just a 3D model on a screen; it's
an object with tangible volume you can peer around.
Beyond the 30 Minutes: The Real Journey Begins
This is just the launchpad. The Looking Glass SDK offers immense power:
·
Multiple
Views: Render different camera angles simultaneously within the same app.
·
Interaction:
Use Leap Motion, Ultraleap, or even mouse/keyboard to let users grab and
manipulate the holograms.
·
Animations:
Bring your models to life with complex animations.
·
Quilt
Capture: Record or stream your holograms as special "quilt"
images/videos viewable on other Looking Glass displays or online.
·
Advanced
Shaders: Explore custom shaders for unique holographic effects.
Why This Matters: Democratizing Volumetric Displays?
Tools like Looking Glass Go and
its SDK are pivotal. They remove the barrier of needing a PhD in optics or a
massive budget. Educators can visualize complex molecules. Designers can review
3D prototypes in true space. Artists can create immersive installations.
Developers can experiment with entirely new UI paradigms. The global
holographic display market is exploding (projected to exceed $5 billion by
2026), driven by accessibility like this. As Looking Glass CTO Shawn Frayne
often emphasizes, the goal is to make spatial computing intuitive and available
to all creators.
Conclusion: Your Holographic Canvas Awaits.
Building that first hologram app
in 30 minutes isn't just a neat trick; it's a glimpse into the future of
interaction. The Looking Glass Go SDK handles the complex light field math,
letting you focus on the creative part: what amazing volumetric experience do
you want to build? The process demystifies holography, proving it’s not magic,
but clever engineering made accessible. So, fire up Unity, grab the SDK, and
spend half an hour stepping beyond the flat screen. You might just find
yourself hooked on shaping the light. What will your first hologram be? The
only limit now is your imagination (and maybe a bit more than 30 minutes for
the really cool stuff!). Happy hologram hacking!






