3D Vision Blog - Forum
http://3dvision-blog.com/forum/

How to Use the UDK for Oculus Rift Dev Kit
http://3dvision-blog.com/forum/viewtopic.php?f=11&t=2874
Page 1 of 1

Author:  Bloody [ 16 Apr 2013, 16:46 ]
Post subject:  How to Use the UDK for Oculus Rift Dev Kit

If you already have the Oculus Rift development kit, you should register at https://developer.oculusvr.com/ and download the Rift SDKs among which is the new UDK (Unreal development Kit) with support for the Oculus Rift dev kit. In order to enable and get the best results out of the UDK demos and your custom code on the Rift make sure you do the following:

- Make sure to install the UDK in an easy location such as the default one in C:\UDK\
- Go to C:\UDK\UDK-2013-03\UDKGame\Config\ and open the file UDKEngine.ini with Notepad or other text editor
- Navigate to the [Engine.Stereo3D] section and set the bEnabled=True (the default value should be False)
- Open up a demo map and play it on PC (it will run via the UDKGame, next time you can directly start the UDKGame), Oculus Rift is not yet supported directly it he UDK editor
- If the UDKGame does not run in full screen just press ALT + Enter to make it fullscreen

- Brig the console up by pressing the ~ key and execute the following two command to enable stereo 3D and the Oculus Rift distortion of the image:
stereo on
hmdwarp on


- You need to enable AA filtering to compensate for the lower resolution of the Rift, to do that go to C:\UDK\UDK-2013-03\UDKGame\Config and open the UDKSystemSettings.ini with Notepad or another text editor
- Make sure you set the following lines to the values below, this will enable 16x AF and 8xAA:
MaxAnisotropy=16
MaxMultiSamples=8
bAllowD3D9MSAA=True

Author:  Badelhas [ 16 Apr 2014, 09:12 ]
Post subject:  Re: How to Use the UDK for Oculus Rift Dev Kit

Bloody, are the Rift demos compatible with 3d vision, for us that still don't have it?

Cheer

Author:  Bloody [ 17 Apr 2014, 11:57 ]
Post subject:  Re: How to Use the UDK for Oculus Rift Dev Kit

Badelhas, no, unfortunately they are not compatible out of the box as the Oculus uses different approach for the 3D as compared to 3D Vision, though you might be able to make some of them work with some tweaking.

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/