28
2014
Oculus DK2 + Unity Indie
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
– 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 )
– 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
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!
LINKS
– DK2 Troubleshooting resource: http://cymaticbruce.com/DK2Troubleshoot2.html
– Oculus demos : https://share.oculusvr.com/
—
Windows screen settings
Main monitor
—
Oculus
Related Posts
2 Comments + Add Comment
Leave a comment
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
Gear VR + Unity (tutorial)
https://www.youtube.com/watch?v=0vkRtsaP3co
project download:
http://forum.unity3d.com/threads/gear-vr-app-not-get-past-splashscreen-unity-4-6-2-serious-issue-totally-random-reported.296908/#post-1957031
Oculus Rift World Space Cursors for World Space Canvases in Unity 4.6
http://ralphbarbagallo.com/2014/08/20/oculus-rift-world-space-cursors-for-world-space-canvases-in-unity-4-6/