beanz Magazine

What is VR? AR?

Pete Souza/White House

Virtual and augmented reality replace or add computing to our real world experience.

Virtual reality (VR) and augmented reality (AR) bring computers and the digital world to the real world we can see, hear, and touch. (Smell and taste, of course, have yet to be translated into computers!)

Virtual reality uses sight, sound, and our sense of balance to create 100% digital worlds we can move around in. Augmented reality, in contrast, adds a digital layer to our real world experiences, for example, attaching a small screen to glasses or a heads up display in a car that lets the driver view speed and other data as they drive. The Pokemon Go game is augmented reality, letting you chase Pokemon in the real world with your phone.

While augmented reality is often useful — helping us do things more efficiently or learn as we do things, virtual reality gets more attention because it surrounds us with completely different worlds. It’s amazing to stand at the bottom of an ocean and watch whales and jellyfish parade past when, in reality, we’re in our living room or classroom. We can breathe in the digital water without scuba tanks. Reach up to touch a jellyfish and it swims away.

It’s so real, except it’s not.

Virtual reality technology goes back at least to flight simulators from the 1950s. Pilots used simulators to learn how to fly and perfect their flying skills without the risk of crashing planes or the bother of waiting for a storm to appear so they could fly through it. 3D movies are another effort to make movies immersive. And anyone who has watched the TV show Star Trek: The Next Generation knows today’s virtual reality is simply a small personal holodeck.

While the term virtual reality was coined by Jaron Lanier in 1987, virtual reality will become more common in the classroom and at home this year and next with the release of at least four kits plus many games and apps.

The Oculus Rift — and in Fall 2016 the Playstation VR — use headsets connected to a computer. The Samsung VR lets you slide your modern Samsung phone into their headset. The very low cost Google Cardboard project is a cardboard headset that works with any phone and apps like the New York Times VR app.

The HTC Vive uses a headset connected to a computer with two base stations set up to track your movements. Here’s how the Vive is set up:

  • A special headset that covers your eyes. (C in the illustration below)
  • Headphones to help immerse you in what you see with the headset. (C)
  • A small splitter box to connect the wires from your headset to your computer. (D)
  • At least two small base station boxes that broadcast and receive invisible signals to track your location within a small space. (A)
  • One or more controllers to hold in your hand to select different options in the VR software — for example, exit or pick a paint brush — as well as do things like pick up objects by clicking controller buttons. (B)
  • On your computer, an app that manages the software and images run through your headset. (E)
  • This setup creates a play area, labelled F in the illustration below, to track your movements.
concepts-htc-vive-setup-illustration
Illustration from HTC Vive Setup Guide

Virtual reality kits vary only in quality of the experience, their ability to trick your eyes and ears into believing the digital world around you is the real world. For headsets connected to computers, virtual reality also requires the latest video cards and processors to stream data to the headset without interruption.

Today virtual reality headsets can be heavy when attached to your head or held in your hands. However, the first TV sets were huge boxes with small screens that evolved into modern mostly flat screens. Virtual reality equipment likely will follow the same path. There’s already a virtual reality setup that fits in a backpack, for example. And people are trying to fit the current headset down to the size of a pair of glasses.

If you choose one of the high end virtual reality kit, be aware of exclusive software, DRM (digital rights management), and other things that will limit your ability to try out software. For example, software built solely for one virtual reality platform means other platforms can’t use it. And open platforms can use software from anywhere as long as it conforms to basic standards.

For programmers and people interested in the software, the Unity game engine and other software development kits (SDK) include the ability to create immersive virtual reality experiences and games. You add libraries of code to your project the same as other libraries.

Whether or not you should get involved with virtual reality today is a matter of cost, time, and what software applications are available.

There are a number of useful educational apps, for example, to explore the planets and stars. At least one app lets you explore Yosemite National Park. For people who want to play, of course, there are many games converted to virtual reality. The Star Trek: Bridge game due out Fall 2016 that lets you and friends operate the Starship Enterprise together on adventures. And many 2D video games will release VR versions.

The lowest cost way to try out virtual reality, though, is Google Cardboard. For $20-30 USD you buy then fold together a cardboard headset then slide in a modern smartphone and use VR apps. While not as immersive as the HTC Vive, the experience is as amazing as more expensive options.

Learn More

What is Virtual Reality?

http://www.vrs.org.uk/virtual-reality/what-is-virtual-reality.html
http://www.theatlantic.com/magazine/archive/2015/10/virtual-reality-gets-real/403225/
https://medium.com/@blaurel/what-is-virtual-reality-77b876d829ba#.8zpk1nbl7

HTC Vive

https://www.htcvive.com/
https://en.wikipedia.org/wiki/HTC_Vive

Oculus Rift

https://www.oculus.com/
https://en.wikipedia.org/wiki/Oculus_Rift

Samsung Gear VR

http://www.samsung.com/global/galaxy/gear-vr/
https://en.wikipedia.org/wiki/Samsung_Gear_VR

Playstation VR

https://www.playstation.com/en-us/explore/playstation-vr/
https://en.wikipedia.org/wiki/PlayStation_VR

Google Cardboard

https://vr.google.com/cardboard/
https://en.wikipedia.org/wiki/Google_Cardboard

VR Kit Reviews

http://www.wareable.com/headgear/the-best-ar-and-vr-headsets
http://www.roadtovr.com/unopened-oculus-rift-htc-vive-stole-heart-steamvr/
http://www.techradar.com/us/news/wearables/htc-vive-vs-oculus-rift-1301375
http://arstechnica.com/gaming/2016/05/why-vive-has-won-the-early-vr-race-in-my-house/
http://www.pocket-lint.com/review/136650-google-cardboard-review-the-cornerstone-of-mobile-vr
http://www.pcmag.com/article2/0,2817,2496676,00.asp

Virtual Reality vs Augmented Reality

https://www.thefoundry.co.uk/solutions/virtual-reality/vr-ar-mr-sorry-im-confused/
http://www.adnews.com.au/opinion/ar-vs-vr-why-augmented-reality-is-winning-the-race
http://www.augment.com/blog/virtual-reality-vs-augmented-reality/

Augmented Reality

https://en.wikipedia.org/wiki/Augmented_reality
https://en.wikipedia.org/wiki/List_of_augmented_reality_software

VR Software Development Kits/Libraries

https://developers.google.com/vr/
https://developer.nvidia.com/vrworks
https://www.htcvive.com/us/develop_portal/
https://developer.oculus.com/
http://www.samsung.com/us/samsungdeveloperconnection/developer-resources/gear-vr.html
https://www.researchgate.net/post/What_toolkits_are_available_for_developing_3D_VR_UIs_for_general_purpose_applications_apart_from_game_engines

Coding VR Software

https://docs.unity3d.com/Manual/VROverview.html
https://unity3d.com/learn/tutorials/topics/virtual-reality/vr-overview
https://hackernoon.com/how-to-make-a-vr-app-with-zero-experience-927438e2dede

Watch President Obama tour Yosemite National Park in virtual reality

https://www.whitehouse.gov/blog/2016/08/25/watch-join-president-obama-virtual-reality-tour-yosemite
http://www.independent.co.uk/news/world/americas/watch-president-obama-visit-yosemite-national-park-in-virtual-reality-a7210151.html

VR Backpack

http://www.theverge.com/2016/6/7/11874762/vr-backpack-pc-hands-on-computex
http://venturebeat.com/2016/08/27/up-close-with-hps-new-omen-gamer-pcs-and-a-crazy-vr-laptop-backpack/

Also In The October 2016 Issue

Virtual and augmented reality replace or add computing to our real world experience.

What would you build if you had 10 weeks and access to Microsoft HoloLens and HTC Vive equipment and developers?

With end of year holidays fast approaching, here are 35 of the more interesting ideas for holiday STEAM gifts that introduce STEAM concepts in fun ways.

If you work in a school or community library, or an after school group, STEAM events can be a way to offer technology events for kids.

A short history of virtual and augmented reality with lots of links to learn more.

One thing programmers do all day is imagine. When someone asks them to solve a problem with code, they start thinking and dreaming.

There are several key skills that I believe you need to have if you want to be a software programmer.

What makes a programmer lousy is a good way to identify what makes a programmer great.

Virtual reality has brought to the masses an old problem with flight simulators: what happens when our brain, ears, and eyes disagree?

The dots and lines used in graph theory can solve interesting problems.

Links from the bottom of all the October 2016 articles, collected in one place for you to print, share, or bookmark.

Interesting stories about computer science, software programming, and technology for October 2016.