Virtual Reality gives users an immersive 3D gaming experience and Unity 5, along with its stunning 3D animation capabilities, is one of the best choices for game developers to create out-of-the-box Virtual Reality games for different platforms such as Google Cardboard, Oculus Rift, and Samsung Gear VR.
This course takes a practical, project-based approach to teach you the basics of Virtual Reality development with the Unity 3D game engine. We walk through a series of hands-on projects, step-by-step tutorials, and in-depth discussions using Unity 5 and other free or open source software. While VR technology is rapidly advancing, we'll capture the basic principles and techniques that you can use to make your VR games and applications immersive and comfortable.
About the Author
Jonathan Linowes is the owner of Parkerhill Reality Labs, a start-up VR/AR consultancy firm. He is a veritable VR and 3D graphics enthusiast, full-stack web developer, software engineer, successful entrepreneur, and teacher. He has a fine arts degree from Syracuse University and a master's degree from the MIT Media Lab. He has founded several successful start-ups and held technical leadership positions at major corporations, including Autodesk Inc. He is also the author of two other books from Packt Publishing, Unity Virtual Reality Projects (2015) and Cardboard VR Projects for Android (2016).
We are witnessing a rapid increase in consumer virtual reality, an exciting technology that promises to transform in a fundamental way how we interact with information, our friends, and the world at large.
There are two basic categories of head-mounted displays for virtual reality—desktop VR and mobile VR. Augmented reality is sister technology to virtual reality.
VR games can have the same mechanic elements, but might need to be adjusted for the virtual environment.
There is not just one kind of virtual reality experience. In fact, there are many experiences, and each section will introduce new technical skills and concepts that are important.
If you already know Unity and have developed your own games, it may be worthwhile revisiting the fundamental concepts.
We will add a few objects to the scene to set up the environment.
Look at ways to deal with the scale.
We're going to use Blender to make a model and then import it into Unity.
Understand the possible ways to integrate our Unity project with virtual reality devices.
We will create an object that will be a proxy for the user in the virtual environment.
Building prefabs for Google Cardboard on Android and iOS.
Creating one-click input projects.
Number of different technologies and techniques come together to make the VR experience work.
Unity's UI canvas provides lots of options and parameters to accommodate the kinds of graphical layout flexibility.
In visor HUD, the UI canvas is attached to the camera. It doesn't appear to respond to your head movement.
A variant of the visor HUD that is essential in first-person shooter games is a reticle or a crosshair cursor.
The information panel overlays the gameplay, but it isn't attached to your head. Instead, you can think of it as attached to your seat while in a cockpit.
We'll be adding a scoreboard into the scene at the top left corner of the backdrop image.
Info bubbles are located in world space at a specific 3D position, but the canvas should always be facing the camera.
An in-game dashboard is a UI display that is integrated into the game itself.
The UI elements are not necessarily visible at all times, rather, they may be invoked in context as a part of the gameplay.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.