User Tools

Site Tools


howto:use_oculus_rift

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howto:use_oculus_rift [2018-10-20 07:28] skyjakehowto:use_oculus_rift [2018-10-20 07:30] (current) – [UI] skyjake
Line 1: Line 1:
 +====== How to use Oculus Rift with Doomsday ======
 +
 +
 +This article contains some helpful tips about how to use Oculus Rift with Doomsday. 
 +
 +Doomsday supports [[http://oculusvr.com|Oculus Rift]] starting with [[version:1.13]]. DK2 is supported in [[version:1.15]]. 
 +
 +Oculus Rift support was discontinued in [[version:2.0]] (pending further changes in the renderer).
 +
 +
 +===== Quick instructions =====
 +
 +  -  Plug in Oculus Rift.
 +  -  Launch Doomsday and a game. Doomsday should detect that you have the HMD connected and switch to Oculus Rift VR rendering mode.
 +  -  Setting up gamepad bindings is recommended, including ones for game menu navigation (they are all in the Controls menu)
 +  -  Click on //Apply Rift Settings// in the 3D & VR Settings dialog. This will configure things like HUD graphics size and head bobbing.
 +  -  Reset your head tracking while standing up to fully match the pose of the Doom Guy.
 +
 +The //Apply Desktop Settings// button will restore desktop default settings.
 +
 +
 +===== Supported platforms =====
 +
 +
 +Oculus Rift is supported in the binary packages for Windows and OS X. On other platforms, you'll have to compile Doomsday yourself using the Oculus SDK. (Set ''LIBOVR_DIR'' in your qmake config or **config_user.pri**.)
 +
 +
 +==== Windows ====
 +
 +
 +//(LibOVR 0.4.2)// Doomsday works best (only?) in the "extended desktop" mode. The game window is automatically moved to the HMD screen when the Oculus Rift VR mode is enabled. The game window is moved back to a regular monitor when the VR mode is changed back to "no stereo".
 +
 +
 +==== OS X ====
 +
 +
 +You must move the game window to the HMD screen manually. The easiest way to do this is to use the duplicate monitor mode. Make sure the window is in fullscreen mode (F11).
 +
 +
 +===== UI =====
 +
 +
 +In [[version:1.15]], the UI adapts automatically to be a good size for Oculus Rift.
 +
 +In [[version:1.13]], there is no support for alternative UI styles, so you'll have to manually adjust the font sizes to suit Oculus Rift. The best way is to increase font sizes with the command line option:
 +<code>
 +-fontsize 1.5
 +</code>
 +
 +===== Auto-configuration =====
 +
 +
 +While Oculus Rift is connected, an auto-configuration button ("Apply Rift Settings") is shown in the 3D & VR Settings dialog. This will set a bunch of cvars to values that work better on the Rift. Most importantly, the auto-configuration will ensure you have the appropriate head tracking input bindings:
 +
 +  bindcontrol lookpitch head-pitch
 +  bindcontrol yawbody head-yaw
 +
 +In [[version:1.15]], a new player control for reseting Oculus Rift tracking has been added to the games' Controls menu. The corresponding console command is {{cmd|resetriftpose}}.
 +
 +
 +===== Frame rate =====
 +
 +
 +For a good experience on the Oculus Rift, make sure you'll keep the FPS at 60.
 +
 +Disabling the Bloom effect helps a lot if your GPU is struggling with fill rate.
 +
 +In [[version:1.15]], you can adjust the Oculus Rift frame buffer pixel density in the 3D & VR Settings dialog. Reducing density will improve rendering performance, however this will reduce image quality.
 +
 +
 +
  
howto/use_oculus_rift.txt · Last modified: 2018-10-20 07:30 by skyjake