PiBoSo Official Forum

GP Bikes => General Discussion => Documentation => Topic started by: PiBoSo on August 28, 2017, 12:37:07 PM

Title: VR Support
Post by: PiBoSo on August 28, 2017, 12:37:07 PM
When installing GP Bikes a desktop shortcut named "GP Bikes - VR" should be created.
It launches GPB 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 GP Bikes -> 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 GPB installation folder and adding the following lines:
[render]
pixel_density=1.5

By default, the rendering of both eyes is mirrored to the GPB window.
It is possible to change the mirroring setting creating a text file called oculus.ini or openvr.ini in the GPB 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.

For SteamVR only, it is possible to add to the openvr.ini file
[ipd]
scale = 0.9
to modify the IPD, changing the world scale.

Note: If the Windows Taskbar overlaps the GPB 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: WolfMcloud on September 03, 2017, 12:49:50 AM
I can't get Oculus Rift to run on beta 12.... What settings do I need to activate in GP Bikes?

Is there a guide?
Title: Re: VR Support
Post by: teeds on September 03, 2017, 10:32:34 AM
Nothing to change in game settings, just make a VR shortcut as per the instructions  above.
Title: Re: VR Support
Post by: PiBoSo on September 03, 2017, 01:58:28 PM
Quote from: teeds on September 03, 2017, 10:32:34 AM
Nothing to change in game settings, just make a VR shortcut as per the instructions  above.

There should already be a VR shortcut automatically created on the desktop and in the Windows start menu.
Title: Re: VR Support
Post by: teeds on September 03, 2017, 02:09:44 PM
Quote from: PiBoSo on September 03, 2017, 01:58:28 PM
Quote from: teeds on September 03, 2017, 10:32:34 AM
Nothing to change in game settings, just make a VR shortcut as per the instructions  above.

There should already be a VR shortcut automatically created on the desktop and in the Windows start menu.

Good to know, didn't see this as I stop the installer making any new shortcuts.
Title: Re: VR Support
Post by: WolfMcloud on September 03, 2017, 06:05:28 PM
Okay. So the problem was not having net 3.5 installed after a clean windows installation.  All good now. Thanks

Title: Re: VR Support
Post by: WolfMcloud on September 03, 2017, 06:11:07 PM
1 lap in and ABSOLUTELY WORLD CLASS!

Well done Piboso (",)

Title: Re: VR Support
Post by: PiBoSo on January 20, 2018, 09:20:01 PM

First post updated with info about the Oculus pixel density.
Title: Re: VR Support
Post by: bitman85 on January 29, 2018, 12:38:36 PM
Hi Friends, i'm new in the forum, and i have a question , GP Bikes is compatible with oculus rift dk1? or dk2
Title: Re: VR Support
Post by: teeds on February 03, 2018, 10:54:27 PM
Quote from: bitman85 on January 29, 2018, 12:38:36 PM
Hi Friends, i'm new in the forum, and i have a question , GP Bikes is compatible with oculus rift dk1? or dk2

Used to be, but don't think so anymore.
Title: Re: VR Support
Post by: cyborg chip on June 03, 2019, 06:35:56 PM
hi friend.

I use samsung odyssey (windows mixed reality).

wich name of ini file for pixel density?

many thanks