PiBoSo Official Forum

World Racing Series => General Discussion => Documentation => Topic started by: PiBoSo on December 15, 2017, 01:34:05 PM

Title: VR Support
Post by: PiBoSo on December 15, 2017, 01:34:05 PM
When installing World Racing Series a desktop shortcut named "World Racing Series - VR" should be created.
It launches WRS with the "-vr" command line switch, that enables VR support.

If both a Rift and a Vive are installed on the same PC, it's possible to force Oculus using the "-vro" switch, and SteamVR using "-vrs".

In World Racing Series -> Settings -> Input3 it's possible to set the control to reset the VR camera tracking. The default key is F8. It resets the position and rotation of the user interface virtual screen, too.

It is possible to change the Oculus pixel density, creating a text file called oculus.ini in the WRS installation folder and adding the following lines:

[render]
pixel_density=1.5


By default, the rendering of both eyes is mirrored to the WRS window.
It is possible to change the mirroring setting creating a text file called oculus.ini or openvr.ini in the WRS installation folder and adding the following lines:

[mirror]
eye = 2

The possible values are:
-1: mirroring disabled
0: left eye
1: right eye
2: both eyes

On Oculus only, it is also possible to add, under the "mirror" section

post = 1

to show the barrel distorted render in the desktop window.

Note: If the Windows Taskbar overlaps the WRS window preventing the cursor from reaching the bottom of the user interface, please try right clicking on the shortcut icon and, in the Properties, selecting Run Maximized.


Known Bugs
- HTC Vive ( SteamVR ): transparent asphalt in the user interface
Title: Re: VR Support
Post by: PiBoSo on September 15, 2018, 08:51:24 PM

First post updated with info about the Oculus pixel density.