Home» Unity 5.3

Unity 5.3

Build your first VR app for the Oculus Rift. Welcome What an exciting time for Virtual Reality. Today Im going to show you how to build your own VR application for the Oculus Rift from scratch Whether you are brand new at developing an app or you are a seasoned veteran this post is for you. El42kLV3Mio8O0w5juyFKDQbE4FGLBDp.jpg' alt='Unity 5.3' title='Unity 5.3' />Unity 5.3Thats because pretty consistantly every new Oculus runtime and SDK have always had unique steps and weird quirks to get you to the point where you can make apps. And often involve a lot of steps that send you all over the internet to find out how to do it. With this post I am going to walk you through it from the start and you will have a built app at the end of it. Excluding times for downloading, installing and rebooting, you will have a VR app working within minutes. The Lords Prayer, Our Prayer by Sandy Simpson This DVD is a message based on this article. Matt. 6913 This, then, is how you should pray Our Father in heaven. Hey Peter, This tutorial is better than any other available on the internet and even better than what Unity provides. I am into developing a VR app, I started off. The ideal sensor absorbs every photon, each photon would liberate an electron and every electron would be collected and counted to form the image, all done with no. FinalResult.jpg' alt='Unity 5.3' title='Unity 5.3' />Unity 5.3Some good news for DK2 owners These steps will work with both CV1, DK2, or Gear VR for those still waitingIm going to show you how to develop an app using Unity. Oculus VR. Your VR Setup For this tutorial you will need A VR Headset Oculus CV1 or DK2. Buy one from Oculus Store, Oculus Ready PCs or ebay. Note Even though I say this tutorial works with Gear VR that is not the best system to develop and test with because you still cant plug a Gear VR directly into the Unity. So I definitely recommend you have a DK2 or CV1 for this. You can still build your VR app to work on Gear. VR as well. Step 1. Remove any previous Oculus Runtime You can skip this step if you have never had Oculus installed on your PC, or you already have installed the current Oculus Runtime 1. If you have the Oculus Home experience, then you have 1. For correct operation you want to make sure any previous runtime is completely removed, in particular Oculus Runtime 0. Rift release. Step 2. Setup your RiftLike Step 1 You can skip this step if you have never had Oculus installed on your PC, or you already have installed the current Oculus Runtime 1. If you have the Oculus Home experience, then you have 1. Before you can build your own VR applications, you should make sure your Rift is correctly installed and you can play existing applications or games. Oculus have a well documented installation process here. However, they key steps are Step 3. Install and setup Unity 3d. At this time 2. 2 April 2. Unity is a patch build v. You can use Unity as the free or professional licensed version to create VR. The professsional version allows you to customize the splash screen to remove the Unity logo, and provides more powerful features. For this tutorial I recommend the professional trial version. By the time you read this that may have changed. To keep up to date with the correct version see the Oculus Forum post Recommended Unity Versions For Development. Close the Unity Editor if it is currently running. Navigate to C Program FilesUnityEditorDataVRoculus. Delete all contents of the directory. Extract the OVRPlugin zip, open the folder 5. C Program FilesUnityEditorDataVRoculus. Step 4.  Create a Unity Project. Launch Oculus Home if it isnt already runningLaunch Unity. DOn the launch wizard press New and create a new 3. D project make sure 3. D is hilighted in pink Optional if you want to use the Oculus Utilities for Unity, then click Asset packages and select Oculus. Utilities Press Create Project and you will be in the Unity Editor Create a new project scene File New Scene, then File Save Scene As and name it mainAdd the scene to your build settings File Build Settings and press Add Open Scenes to add main to your project Set your project to support VR mode by opening Player Settings button, and checkmark Virtual Reality Supported Create some content by adding a plain old cube into the scene. Right click in the Hierarchy window panel and select 3. D Object Cube, and you will see a cube appear in the scene and game windows Note Press File Save CTRL S to save this change in case Unity crashes. Thats it To test this in VR, press the PLAY button above the game window. The game window will show you what the player is seeing. Try and move your Rift around and the tracking will alter the game view Now look through the CV1DK2 headset and you will see a Health Safety Warning. Follow the instructions to dismiss it press XBox A Button, Press Select on the Oculus Remote, or Hover the cursor over the text to dismiss it Now, you will find you are seeing your cube Note At this stage there is no way to disable the Health Safety Warning for developers which was previously possible. Hopefully Oculus will add that option in the future. Press the now Blue PLAY Button again to STOP and return to edit mode Any edits you make while playing are lost when you stop. Looking through the VR headset now you will see black. Experiment by adding other objects to the scene and pressing PLAY again. You will see your new changes in VR. Well done Although this is very basic it is a real VR app Step 5. Building your app to share. 2001 Acura Tl Manual Transmission Swap. The last step is to export your app as a build that can be shared around without the Unity 3d editor. Open Build Settings again File Build Settings and press Build. Save your build as Hello. World. VR. exe. Once built it will open up the location in file explorer. Click on Hello. World. VR. exe to run the app checkmark Windowed to make it easy to quit Thats it Youll see the Unity Splash screen, and finally be in your game Note In the VR Headset youll have to dismiss the Health Safety Warning And thats it. To share this, zip up the Hello. World. VR. exe and Hello. World. VRData folder, and you can send it to others to play Next Steps. You now have everything you need to get started on your VR app journey. If you are interested in 3. D, download an FBX formatted 3. D model from a site like http turbosquid. A FBX file typically includes model geometry, textures and materials, and can be imported easily by Unity 3d. Eg Heres a free vehicle on Turbo Squid http www. Download the FBX zip file, and extract it. Then drag the Mitsubishi. Lanser. Evo fbx into Unity into the project Assets window panel. Unity will import the model and once done you will have a Mitsubishi. Lanser. Evo fbxMitsubishi. Lanser. Evo fbx prefab which has a blue cube icon next to it Simply drag the prefab into the Hierarchy window panel to add it to the scene at position 0,0,0 Now press PLAY and you can see the vehicle Good luck Send me any comments and feedback.