312

762

120

90

What you will get

A Rift eBook

You get a complete eBook explaining the technology behind Oculus Rift and virtual reality. The eBook comes in .ePub, .PDF and .Mobi formats.

Oculus rift development tutorial with Source code

We provide you with a development tutorial with source code to develop a game in Unity. You also have download links for Oculus unity integration package and other softwares.

Step-by-Step explanation

The book not only enables you to develop apps, games and projects based on Oculus Unity integration package, it also takes care of your basic needs to learn and understand things from the scratch.

What you will learn

Virtual reality

Virtual reality (VR) has taken the center stage in present day gaming and you will get a deep insight into it.

Oculus Rift gaming

You will learn to create a project in unity and integrate Oculus unity integration package to the project. In addition, you will get to know how to build and run a standalone rift app.

Unity package

This book will introduce you to Unity and guide you through the process of developing a game in Unity.

OpenGL

You get a good experience and training to use OpenGL to incorporate visual effects inside the game.

Who is this for ?

Enterprisers

Folks who are in the hunt for creating a niche in the latest gaming arena will have more than what they need in this eBook. The eBook deals explicitly on how to develop games from the scratch using the Oculus rift development tutorial. This book is, de facto, your complete guide to new apps and games.

Oculus Rift & VR Partisans

We always have the exceptional Joe blogger or a tech-geek on the hunt for new ideas and assets. If you are one among them, know that this is your poison! You definitely can't resist the know-how of this book, can you?

Learners

You are never too old to learn! You might be in your school or a grandparent looking forward to prove your magical skills to your children. This eBook has been written keeping in mind that you get to know the birds and bees of this technology without having to ask for anyone's help.

Sample pages from book

Preface

About the Author

Prerequisites

Chapter I

Introduction to Oculus Rift

Chapter Snippet

Moving forward with virtual reality

The Oculus Rift - An Insight

The Rift Hardware

Working of the Rift

Rendering an immersive view

Chapter II

Rendering the Field of View

Chapter Snippet

Field of View

Maximizing the Field of View - Rift’s Challenge

Setting up the Rift for development

Configuring the Rift for Use

Dealing with motion sickness

Physical Preparations for Using the Rift

Chapter Snippet

Chapter III

The Oculus SDK & Rift Interactions

Chapter Snippet

Getting the head tracker data

Decoding the output

Rendering output to the display

The display panel

Working with the SDK

Working with the SDK

Chapter IV

TInstallation of the SDK & Head Tracker API

Chapter Snippet

Setting up the Monitor

Installation of the Oculus SDK

CONTENTS

The Head tracker API

Receiving Head Tracker Data

Fetching the Rift’s Orientation

Sending Output to the Rift

Rendering output to the display

The Rift Display - Defying Conventions

Chapter V

Creating a project in Unity

Chapter Snippet

Downloading unity 3D application

Developing Oculus Rift Application without having any hardware

Creating an example unity application

Importing the Oculus Unity integration package

Player controller prefab: Get onto rift without any coding

Testing the application on unity editor

Chapter VI

Integrating Oculus Unity Integration Package

Chapter Snippet

The OVRPlayerController prefab components

Using the OVRCameraRig prefab: Generate a scene on the rift using your own character controller

Adding a Character controller

Change the script to work with the OVRCameraRig

Building a standalone app of your rift project

Chapter VII

Health & Safety Precautions

Chapter Snippet

Cautions for using the headset

Precautions for Children & seizures

General Instructions & Precautions

Radio Frequency Interference

The Future Beckons

Chapter III : The Oculus SDK & Rift

Example

Standard Run Macro

You need to call the function “ovr_Initialize()” before you call any other SDK functions. The prototype looks like this:

OVR_EXPORT ovrBool ovr_Initialize();

C has no built in Boolean type and hence, ovrBool is used as a char type.

You can check the return value of ovr_Initialize() and exit out of the application if it returns a non-true value.

Similarly, you need to call the ovr_Shutdown() when you’re finished working with the headset: OVR_EXPORT void ovr_Shutdown();

In the following examples, we’ve shown the launching of our applications with a macro called RUN_OVR_APP.

You declare the code to initialize the SDK. In the function “ result = ExampleCode().run();”, we use macro parameters as a substitution for running the example code. The code finally ends with “ ovr_Shutdown();”, as a function to shut down the SDK.

Chapter IV : Installation of the SDK & Head Tracker API

Sending Output to the Rift

When you take the Rift from the perspective of an operating system, it is simply a monitor where images are to be displayed. The Rift has a special display system with LCD or OLED. In addition, it contains lenses to change the perception of the panel. The display mimics real human vision with a large field of view; making the overall Rift experience worthwhile.

While rendering the output in a Rift,you get to know that it’s not just a monitor that you are dealing with. Given below is a figure, explaining the process of rendering a display frame on the Rift.

When we connect the Rift to a computer, the OS treats the Rift as just another monitor. In a way, it makes things simple for the Rift but it has a number of drawbacks as well. The assumptions that one might make while making operating systems do not hold true in the case of the Rift. Keeping it simple, let’s say the Rift is connected to a computer. When you enable the display control panel, it extends to the desktop metaphor. If you try to solve the issue by disabling the monitor, you will find that the system APIs do not acknowledge the existence of the Rift.

You open a new window of a particular size in the desktop by using ‘ window = glfwCreateWin- dow(size.x, size.y, “glfw”, nullptr, nullptr);’. This is positioned according to the operating system. Afterthat,your eposition the window by using‘glfw SetWindowPos(window,position.x,position.y’.

Click to Preview

Table Of Contents

Chapter III

- The Oculus SDK & Rift

Chapter IV

Ebook content overview

The approach

The author has done an extensive research on the Oculus Rift and tried to break up complex mechanisms inside the device step-by-step. This book caters to a wide range of customers ranging from an average Joe blogger to a game developer.

Entire Source code

When you buy the complete package, we give you the entire source code and its explanation to build a game on Unity.

Installation guide

This eBook comes with a detailed step-by-step installation guide and user manual. The Oculus rift development tutorial has been designed such that you can do everything on your own.

Making the game in Unity

The Oculus rift development tutorial and Unity tutorial ensures that you understand each and every aspect of developing a game using an Oculus Unity integration package.

Working of the Rift

There are chapters dedicated to explain the working of the rift in detail. It includes the field of view, creating an immersive environment and rendering the device

Rift input and output

From the beginning to the end, the author guides you in the simplest possible way; separating the whole book in seven chapters. The book deals with rendering the input and output of the Rift in details.

Health & Safety precautions

The book gives you a good idea on how to go about with using the Oculus Rift. The immersive environment that the Rift offers has its complications. Taking necessary precautions will help you avoid discomfort.

SDK & Integrations

From decoding the desired output, getting head tracker data to rendering & understanding the display panel- this Oculus Rift development tutorial gives you a detailed explanation on getting an app ready for the Rift.

Messages from readers

Bryan Sumner

"This book helped me understand the limitations and possibilities of Oculus Rift . Working on unity seems easy. Eager to get my hands on the commercial edition of the VR headset."

Chen Biming

"I'm a student and I find the eBook very informative for my project on virtual reality. Trust me, finding content in details is always hard. I had my share of hassle until I came across this. I got to understand its working in details."

Ayesha Khomeini

"I'm glad I read this book before I got myself the upcoming head gear. Don't know when it will be available but this was a good purchase for sure."

Who Are You?

You can gift it your little one. Who knows? They might turn out to be the next Zuckerberg or Caterina Fake. Why not help them get there?

Maybe you could learn programming and teach your kid. Give it a try, It's easy.

Any time is a good time to start. Kevin Systrom, founder of Instagram was a marketer who taught himself programming. It's never too late.

Coding is like Poetry, if learnt the right way. Our Tutorials are made with 'hand-held approach' in mind & it teaches you how to create a real-time app, while walking you through the making & basics, all done in a fun & finer manner. Don't take our word for it, Take a Quick peek inside. :)

Go on, use our Tutorials + Source Code to launch your own app NOW! you never know what can make you famous!

Use our 100% Source Code to do your college project.

Getting technology ready for your dream venture is a costly & Time consuming process. Use our Expert Source Code to get business ready instantly!

Based on our scripts & tutorials, people have built businesses on them or launched their side projects while they work. Don't let you ideas stay dormant. Take action.

Planning on hiring a Free Lancer to code your idea? Just get him a membership & ask him to use our already tested & efficient code. Save time & Money!

Hold on ! Are you planning on hiring a Freelancer to code your idea? Just get him a membership & ask him to use our already tested & efficient code. Save time & Money!

Every business is going online. Get your business online as well. Our repository of Products can get you there in no time.

Hiring an agency to develop your app / Software? Get them a subscription and ask them to use the Pre-Tested code & modules. Save Time & Money!

Planning on adding a new feature to your existing app? We have all the features / modules you can ever think of. Everything tested for quality & performance. Just plug and play

You need to ship new versions of your software continuously. Help your developers to get the much required speed & quality. Get them a subscription & see them deliver things super fast. Our repository contains every module/ Source Code required to speed up development, along with detailed DIY Tutorials.

Have a new idea? Want to create a MVP? We have the Lego blocks for you to play with and create a stunning-working MVP!

Planning on starting a niche app? We have full working models of nearly all the famous apps in the world. Using the Source Code & DIY Tutorial, you can hit the road running!

Would you like to reduce the time taken by your team to finish products? You should definitely get your team a subscription. Our repository has all the modules required in any app development. Your developers can just pick the required module and use it ( Every module comes with full Source Code & Tutorial ).

We also have fully developed products in major categories ( IM, Social Networking, Entertainment, Productivity etc. ) Your developers can take the entire products and customize it for your customers.

Since our products & Tutorials are done by experts, the code quality is excellent & works like a charm :)

1000's of developers use our products everyday to make their life easy at office :) Come join the revolution.

1000's of Free Lancer's use our products everyday to deliver high quality work for their customers in quick time frames.

Why so Less?

We envision a world, where technology should not be a hurdle at all for wanna-be Entrepreneurs. There are many people who have a great spirit to START - but are stopped due to Financial hurdles & that is sad :(

Each of the apps / scripts we have inside can easily cost you $15000+ and 4 months of time to get done. We wanted to remove this barrier. We wanted Technology to become more accessible to anyone, who just has the spirit & idea to create something BIG!

The $9 we collect is merely to just keep the service alive. So we request you to help us keep doing this service.