[Plugin] Rf2Rift - rFactor2 Oculus Rift Plugin and Tools by vittorio

[Plugin] Rf2Rift - rFactor2 Oculus Rift Plugin and Tools by vittorio

Messaggioda MRK37 » 18 agosto 2013, 19:55

Immagine
Immagine

Immagine

Installation and usage

Assuming your rFactor2 installation dir is: C:\Program Files (x86)\rFactor2
and your Packages dir is: C:\Program Files (x86)\rFactor2\Packages

rFactor2 Oculus Rift Headtracking Plugin installation

Download Rf2Rift_2_0_test4.zip (see Attachments) and extract
Copy the file Rf2Rift_2_0_test4.dll to C:\Program Files (x86)\rFactor2\Plugins
Remove the file C:\Program Files (x86)\rFactor2\Plugins\TrackIR_rF2_Plugin.dll to avoid a conflict (keep a backup)


Change following settings in C:\Program Files (x86)\rFactor2\UserData\player\player.PLR:

Glance Rate="200.00000" // Rate to follow controller for glancing
Look Up/Down Angle="1.00000" // Angle to look up/down (pitch) w/ controller in radians (= degrees / 57)
Look Roll Angle="1.00000" // Angle to lean head (roll) w/ controller in radians (= degrees / 57)
Glance Angle="1.00000" // Angle to look left/right (yaw) w/ controller in radians (= degrees / 57)
Lookahead Angle="0.00000" // Angle to lookahead (yaw) w/ steering in radians (= degrees / 57)
Head Rotation="1.00000" // Additional head physics multiplier affecting rotation only
Exaggerate Yaw="0.00000" // Visually exaggerates the heading angle of the vehicle by rotating the head (which may improve "feel")

Cockpit Vibration Mult1="0.00000" // Primary aerodynamic vibration multiplier affects eyepoint position (base magnitude is in VEH or cockpit file)
Cockpit Vibration Freq1="0.00000" // Primary rate of vibration affects eyepoint position (higher framerates allow higher rates)
Cockpit Vibration Mult2="0.00000" // Secondary aerodynamic vibration multiplier affects eyepoint orientation (base magnitude is in VEH or cockpit file)
Cockpit Vibration Freq2="0.00000" // Secondary rate of vibration affects eyepoint orientation
Car Vibration Mult1="0.00000" // Primary engine vibration multiplier affects position of cameras attached directly to the car
Car Vibration Mult2="0.00000" // Secondary engine vibration multiplier affects orientation of cameras attached directly to the car

Wait For All Plugins To Load="1"


rFactor2 Oculus Rift Headtracking Plugin usage

I assume you have Tridef beta with Oculus Rift support installed (see Tridef beta installation and settings below). Since Tridef Ignition 3.7.7 Beta 1 there is no need for Rf2RiftOccupy.exe anymore. Using the latest Tridef Ignition 3.7.7 Beta 1 version therefore is important.

The "Look Down" key is used to recenter the headtracker. Assign it to a button on your wheel so it is easily accessible:
SETTINGS->CONTROLS->CAMERA and assign "Look Down" to a button on your wheel.

Known issues

When entering a race (or practice ..) the plugin doesn't work for the first ~13 sec. This is a known limitation of the rF2 plugin system and according to ISI this time won't get removed. If you are prone to motion sickness it's best to not move your head during that time. Wait for the message "Oculus Rift is ready." (AFAIK there is no message after restart race). Keep your head straight when you enter or leave a practice, qualifying or race session.


Oculus SDK v0.2.5 installation

Only use Rf2Rift V2.0 if you have calibrated your Rift using OculusConfigUtil.exe in the Oculus SDK v0.2.5. (you have to update the firmware, calibrate your Rift and enable mag yaw correction in OculusConfigUtil.exe)
Oculus SDK v0.2.5 is available at: https://developer.oculusvr.com/


rFactor2 Oculus Rift Customized HUD installation

(Like every other rfcmp):

Download riftmultidial_0_8.zip (see Attachments on first post) and extract
Copy riftmultidial_0_8.rfcmp to C:\Program Files (x86)\rFactor2\Packages
Start rFactor2 Launcher
Click Manage Mods
Check Viewing: Components
Select Rift Multi Dial
Click Install


In rFactor2 Single Player:

Enter CUSTOMIZE->ONCSCREEN DISPLAY
Select RIFTMULTIDIAL



rFactor2 Oculus Rift Customized HUD usage

The customized HUD is needed to be able to see necessary informations in race. These are:
Flags and symbols (top left). Messages (top). The HUD MFD (bottom right, access with key 6 by default) and the HUD Stats (bottom, access with key 4 by default). Virtual mirrors aren't visible, they would break immersion anyway.

Tridef beta installation and settings

Follow http://www.tridef.com/forum/viewtopic.php?f=24&t=3907 for installation.

These settings are known to provide good results (using Tridef 3D V5.10 and Tridef Ignition 3.7.7 Beta 1):

rF2:

SETTINGS->DISPLAY->VERTICAL FOV: 95


Tridef:

3D->Scene Depth: 50
3D->Custom Focus: On
3D->Near Plane: 0
3D->Far Plane: 100
HMD->World Scale: 0.06
HMD->Force FOV: Output
HMD->Output FOV: 100
HMD->OSD Depth: 0.50
HMD->OSD on HMD: On
HMD->Output Quality: High
(HMD->Head Tracking->everything off! Restarting rfactor2 after setting this is needed!


History

15.08.2013: Initial release. Rf2Rift V1.0, riftmultidial V0.8
16.08.2013: Added to installation description to remove TrackIR_rF2_Plugin.dll
16.08.2013: Added Tridef Ignition 3.7.6 beta 4 settings
12.11.2013: Released testversion Rf2Rift V2.0 test4. This version uses Oculus SDK v0.2.5. New neck&head model added.


Immagine
DOWNLOAD RF2RIFT 2.0 BY VITTORIO (65 Kb)
Avatar utente
MRK37

37
Admin
Ricerca e Sviluppo Fisica e Modellazione
Pubbliche Relazioni
 
Messaggi: 14090
Iscritto il: 28 dicembre 2008, 13:46

Re: Rf2Rift - rFactor2 Oculus Rift Plugin and Tools by vitto

Messaggioda Simone » 14 novembre 2013, 12:46

Rilasciata Versione 2.0
Download al primo post

Changelog:
I got rid of the initial added height of the neck&head model, so initial eye position = cam position of the mod,
and changed the prediction modes to:
* Oculus Rift prediction = Off
* Oculus Rift prediction = 5 ms
* Oculus Rift prediction = 10 ms
* Oculus Rift prediction = 15 ms
* Oculus Rift prediction = 1 frame
* Oculus Rift prediction = 1 frame + 5ms
* Oculus Rift prediction = 1 frame + 10ms
* Oculus Rift prediction = 1 frame + 15ms
* Oculus Rift prediction = 2 frames
* Oculus Rift prediction = 2 frames + 5ms
* Oculus Rift prediction = 2 frames + 10ms
* Oculus Rift prediction = 2 frames + 15ms
Although it seems the default mode: Oculus Rift prediction = 1 frame is a good value anyway.
Avatar utente
Simone

99
Admin
Coordinatore F1 Swiss
Pilota GTC
 
Messaggi: 13978
Iscritto il: 20 agosto 2009, 16:28
Località: Perugia - Umbertide


Torna a Download

 


  • Argomenti correlati
    Risposte
    Visite
    Ultimo messaggio

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti