User Tools

Site Tools


gear_vr_project_creation

This is an old revision of the document!


Gear VR Project Creation under the Unreal Engine 4

Keywords: Gear VR, Project Creation The photo depicts the basic Gear VR demo which allows you to how to create a new project under the UE4. The big picture problem is to create a new project that will work with the Gear VR headset. Solving this partially or completely is important because it will give you idea how to make a Gear VR software under UE4. This tutorial shows you how to create a new project that will work with the Gear VR headset and takes approximately one hour to complete.

Motivation and Audience

This tutorial's motivation is to setup the developing environment of Gear VR under the UE4. Readers of this tutorial assumes the reader has the following background and interests:

  • Know how to setup USB debugging mode of Note 4
  • Also know how to use tools of android SDK

The rest of the tutorial is presented as follows:

  • Parts List and Sources
  • Construction
  • Final Words

Parts List and Sources

US-based vendors to obtain material to complete this tutorial include (list relevant hyperlinks or phone numbers and addresses). To complete this tutorial, you'll need the following items.

TABLE 1: Parts needed to build

PART DESCRIPTION VENDOR PART PRICE QTY
Galaxy Note4 Samsung N910H‑Wht $550      | 1 |
| Gear VR        | Samsung         | SM‑R322          |$99.99 1

Construction

This section gives step-by-step instructions along with photos to check the step is correct or not.

Step 1

Once you have a version of UE4 4.7.4 or later installed on your development PC create a new C++ Project from the New Project Tab.

Step 2

Next select the First Person Template as the template to be used and make sure to change the following options.

 1. Mobile / Tablet 
 2. Scalable 3D / 2D

Step 3

Finally give the project a location to be saved to and a name. The name for this example the project name will be GearVR QS. Once everything has been completed press the green Create Project button to create the project

Step 4

Once the project has finished being created and compiled, Visual Studio will automatically open (If already installed) along with the editor.

Step 5

Once the UE4 Editor has loaded, from the Main Toolbar, open the Windows tab and select the Plugins menu item. From the Plug-In menu go to the Head Mounted Displays section and disable the Oculus option and enable the Gear VR option. Then click the Restart Now button to re-start the editor so the changes can take place.

Step 6

Once the Editor has re-started, select Edit from the Main Toolbar and then select Project Settings and click the Configure Nowbutton for Android support in the APKPacking section.

Step 7

Next change the Minimum SDK Version from 9 to 19.

Step 8

Next scroll down till you see the Configure the Android Manifest for deployment to Gear VR checkbox and enable it.

Step 9

Next, under the Android SDK section fill, in the location of the required Android SDK files on your development PC. You can find the needed folders in the location where you installed the Tegra files.

Step 10

Finally under File > Package Project > Packing Settings un-check Full Rebuild to help speed up iteration times.

Final Words

This tutorial's objective was to create basic Gear VR demo under UE4. Complete construction details for developing Gear VR with UE4. Once the concepts were conveyed the reader could create Gear VR App using UE4. Speculating future work, derived from this tutorial, includes creating VR simple demo and setup Gear VR Project to use Android smart phone with Gear VR. In the big picture, the problem of creating and setup Gear VR project using UE4 can be solved with this tutorial. Click here to email me

gear_vr_project_creation.1462331361.txt.gz · Last modified: 2016/05/03 20:09 by gihojang