Entering the Brave New World of VR
Virtual Reality and Augmented Reality are becoming increasingly popular. Read about their awesome potential.
Join the DZone community and get the full member experience.Join For Free
it should come as no surprise to anyone that the dream of virtual reality (vr) and augmented reality (ar) experiences has accelerated in recent months/years with the evolution of newer and more modern technologies and techniques. many companies, kickstarter’s and freelance coders/architects are steadily bringing about the reality revolution. whether we are actually there yet or there is still a way to go before there is full consumer acceptance of vr/ar (like cars and mobile phones do today) is a point of debate. anyone however who has tried at least one demo though will tell you they are very impressed.
with all the recent announcements, the future is practically at our doorstep.
|the new oculus development kits with extremely high resolution screens and vastly improved tracking, extended even further with their new oculus touch controllers.|
|the many cardboard / mobile vr kits, like the awesome vis-vr (from as little as £2.50 ) that are available at a reasonable price.|
|the absolutely awesome microsoft hololens project (still a ways off) which still astounds viewers and users alike.|
so that’s the blurb/sales speech, what’s the reality, how do new developers or those interested in this brave new frontier get involved? such is the subject of this slightly different book review for today.
in this post i have two book reviews for those interested in getting in to vr and one big offer direct from their joined publisher, to further accelerate you on this tremendous journey, so let’s get started.
developing ar games for ios and android – published september 2013
this title was published some time ago based on unity 4.1 focusing on implementing the augmented reality vuforia sdk in to your unity titles. you shouldn’t be deterred by this as vuforia have updated their sdk for unity 5, so no worries there.
in its 5 chapters, you are led through implementing the vuforia sdk, getting started with all of its tracking options and the online services, the chapters are detailed as follows:
what is augmented reality?simple and high level overview of all the terminology involved with vr and ar, clearing defining the differences between them.
setting up the environmentget yourself up and running with unity and vuforia, making sure everything is installed and setup correctly.
understanding vuforiaa walkthrough how vuforia works and what is involved in order to properly run a vr trackable project.
trackables and trackingdetailed explanations on the difference between trackables, non-trackables and tracking in general.
advanced augmented realityputting everything together and going through what is required to build an actual game using vuforia ar.
pros/cons and conclusion
i have mixed feelings about this book, at its best it is a very detailed user manual for the vuforia sdk focusing on its trackables services. on the other hand the title is very short and could have done with more detail on all of the other capabilities of the vuforia sdk, so it does feel lacking. overall, if you are looking in to creating a vuforia based app/game, then this will be a useful reference to get started.
- succinct view of ar trackables.
- you get a working ar project by the end.
- far too short for a full in depth ar title – its focus on pure ar tracking markers is good but needed more.
- doesn’t cover the costs involved of using vuforia sdk , check their site for more info.
unity virtual reality projects – published september 2015
unlike the previous title, this book focuses solely on virtual reality (vr) over augmented reality (ar) solutions. in its pages you’ll discover how vr apps and games differ from their desktop counterparts and what really goes in to making them (especially focusing on scale!, very important), walks you through several different types of vr solutions like diorama’s, first person controllers, riding on rails (like a rollercoaster), 360 projections (you are in the painting) and social vr. you’ll even delve in to several vr implementations inside unity 5 such as the oculus rift and (for those of you without a few hundred £ or $ to spare) google cardboard.
virtually everything for everyoneas expected, the beginning chapter talks thoroughly about what vr is and what it isn’t, together with an in-depth comparison between vr and ar. it also goes through all the different vr style experiences and how these apply to both apps and games. finally it covers some of the technical skills you’ll need (yes you do need math!) to build effective vr solutions.
objects and scalea no-nonsense intro to unity (practically just one page, which i like because too many titles waffle on about “installing unity”) followed by a deep dive into creating your first vr scene, before finishing off with a high level walkthrough creating a basic asset in blender (a free 3d modelling tool) and importing it in to unity, keeping an eye on the all-important scale (i did say scale is important!).
vr build and runso you have your vr scene, now what? time to get it on a device, whatever you have to hand. this chapter does a nice big overview of the many options of building your vr solution through unity, focusing eventually on building for the oculus rift and google cardboard (if you are buying this book, you should have some spare change for a cardboard device at least, especially since the vis-vr is only £2.50, oh and you’ll need a mobile device as well ).
gaze-based controlin this chapter you’ll implement a gaze based control system (point and click for your eyes), together with some third person basic ai and nav meshes.
world space uitime to start messing with the new ui system and building a world space ui for your vr viewer to see and use in your vr scenes. not quite the full iron man overlay but close. it does cover however, a basic visor, reticule, windshield hud, info bubbles and much more.
first-person characterswitching gear, it’s time to get behind the eyes of the player and allow them to “play as themselves.” walking through all the tips and tricks necessary to not have your player vomiting all over the floor and ripping off the goggles, it’s important to ensure your player has a good experience in your vr environment.
physics and the environmenttaking the first-person view up a notch, the author adds a little physicality to the player’s experience, allowing them to jump and knock stuff over. not quite the void experience (if you don’t click on that link, you are truly missing out!) but virtually close.
walk-throughs and renderingso far the player has been in control, but some experiences work best if they just sit back and relax, letting you guide them around a scene or view (getting out of a rollercoaster while it’s moving is not recommended, even in vr!). this chapter covers building a tour scene, putting some more blender content to work and making the best out of the scene, while keeping a firm eye on what you need to do to provide the best performance with the hardware you have at your disposal.
using all 360 degrees(i hands down love the image that introduces this chapter )
with another slant on vr we enter the art world, or more poignantly, 3d imagery, and photosphere’s. taking a whole world scene for the user to view and explore, taking a flat image and wrapping it around the viewers head.
social vr metaverseakin to neil stephenson’s snow crash , the author breaks down those single player walls in a vr experience and explores what more than one person can do in the metaverse, building a vr chat room when multiple vr participants can enter a room and talk (like your everyday meetings but fun).
pros/cons and conclusion
overall, i’m very impressed with this title, both for its content and approach but also because the author writes and thinks like me .
there is a very clear intention to structure the content so that it is easily read and informs the reader at a clear pace. also unlike the previous title, it covers a much more varied level of content and approaches to vr. as books go, it’s one of the best ones i’ve read recently (baring my own of course), certainly one to pick up if you want to get serious about vr.
- good fundamentals backed with practical examples
- you’ll get several projects with a great variety of approaches, just about everything you would need for vr
- for once i’m stumped. i simply have nothing bad to say on this title. fantastic effort!
if you use vr, remember there are physical items out there that will hurt you
well that’s if for the review with one major exception, the publishers like my idea of reviewing these titles so much, that they gave me two fantastic offers for readers to grab these titles at a bargain price.
Published at DZone with permission of Simon Jackson, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.