Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Cardboard VR Projects for Android

You're reading from   Cardboard VR Projects for Android Develop mobile virtual reality apps using the native Google Cardboard SDK for Android

Arrow left icon
Product type Paperback
Published in May 2016
Publisher
ISBN-13 9781785887871
Length 386 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
 Linowes Linowes
Author Profile Icon Linowes
Linowes
 Schoen Schoen
Author Profile Icon Schoen
Schoen
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Cardboard VR Projects for Android
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Virtual Reality for Everyone FREE CHAPTER 2. The Skeleton Cardboard Project 3. Cardboard Box 4. Launcher Lobby 5. RenderBox Engine 6. Solar System 7. 360-Degree Gallery 8. 3D Model Viewer 9. Music Visualizer Index

Summary


In this chapter, we built the LauncherLobby app, which can be used to launch other Cardboard apps on your device. Rather than using 3D graphics and OpenGL, we implemented this using Android GUI and a virtual cylindrical screen.

The first part of the implementation was largely instructional: how to add a TextView overlay, center it in the view group, and then display it stereoscopically with left/right eye parallax views. Then, we determined the size of the virtual screen, an unraveled cylinder, based on the current physical device size and the current Cardboard device field of view parameters. Objects are scrolled on the virtual screen as the user moves his head left and right (yaw rotation). Finally, we queried the Android device for installed Cardboard apps, displayed their icons and titles in a horizontal menu, and allowed you to pick one to launch by gazing at it and clicking on the trigger.

In the next chapter, we go back to 3D graphics and OpenGL. This time, we're building a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images