O'Reilly logo

Virtual Reality Blueprints by John Williamson, Charles Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scene controller

As was originally stated, this project lets a user select images from multiple image galleries. So far, we've learned how to create the virtual environment, created canvases to hold gallery images, and created a script for facilitating the user's ability to select images from preview thumbnails. Next, we need a tool for navigating through multiple galleries. This SceneController script will read the user's swiping direction to determine which gallery to display next. Instead of going into deep details on every line, we'll focus on the functions and commands which are related to the Gear VR's trackpad and moving in VR space:

  1. Double-click the SceneController script in the Project/Scripts directory to open the base script in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required