Oct
28
2014

Oculus DK2 + Unity Indie

oculusview

Oculus now works with Unity Indie (free) also! (For example using v4.5.5)

Quick start:

Register as Oculus developer

https://developer.oculusvr.com/

 

Connecting the device

– Quick start guide: http://static.oculusvr.com/sdk-downloads/documents/DK2_Quick_Start_Guide.pdf

– Install Oculus runtime from: https://developer.oculusvr.com/?action=dl

runtime_installer

– Usually need to restart computer after it’s installed

– Connect your DK2 into PC

 

Unity + Oculus Tuscany Demo Project

– Have a quick look at : http://static.oculusvr.com/sdk-downloads/documents/OculusUnityIntegrationGuide_0.4.3.pdf

– I’m using Unity 4.5.5 (http://unity3d.com/unity/download/archive )

– You can also use Patch releases: http://unity3d.com/unity/qa/patch-releases

– Download Oculus integration package : (ovr_unity_0.4.3_lib.zip )

integrationpackage
– Start Unity, create New Project

– Import “OculusUnityIntegration_TuscanyDemo.unityPackage” from the downloaded “ovr_unity_0.4.3_lib.zip”

– First go to Edit / Project Settings / Player, and disable [ ] Use Direct 11 (not needed and some published Oculus application have problems when using DX11 mode)

– Open demo scene: Tuscany / Scenes / VRDemo_Tuscany.scene

– Game Window should have “Maximize on Play” enabled

– Check from Oculus config utility, that you are using [x] Extented mode (which allows you to drag unity game view into oculus screen, while in Unity editor)

*Direct mode is better, when testing published apps

oculusconf

Now the most difficult part 🙂

– Your Oculus is your 2nd monitor/screen, so in Unity you need to drag the Game view window on to that oculus screen (usually to the right)

– AND once it’s there, click that small maximize window button

– Then just hit play and you are in VR!

maximize

 

 

LINKS

– DK2 Troubleshooting resource: http://cymaticbruce.com/DK2Troubleshoot2.html
– Oculus demos : https://share.oculusvr.com/

Windows screen settings

Main monitor

screen1

Oculus

screen2


2 Comments + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.