• Welcome to PiBoSo Official Forum. Please login or sign up.
 
July 03, 2020, 10:45:06 AM

News:

World Racing Series beta14 available! :)


Tweaking the FPV movements through OpenTrack (no headtracking)

Started by Vini, June 27, 2020, 12:08:06 PM

Previous topic - Next topic

Vini

After being annoyed by the lack of (mostly lateral) view movements in first person for some time, I figured out a simple way to alter it externally.
This might be interesting for everyone without VR or headtracking equipment.

Demo

Instructions
Get OpenTrack 2.3.9 (newer versions are bugged), select Joystick as input, freetrack as output and EWMA as filter. In GPB, activate Free Look and select TrackIR. The resting position of the view for each bike can be adjusted by pressing Shift+C on track and using the arrow keys. These positions are independent between the two FPVs, I suggest using the first (linked to rider).
Auto rider lean players might want to use their steering axis as input and map it to the lateral/horizonal (X) axis, while manual rider lean players can use their rider-thumbstick for both the lateral (X) and longitudinal (Z) axis.
Axes can be inverted in the "Output" tab under Options.
You can also manually override GPB's pitch, lean heading (Yaw) or tilt (Roll) through OpenTrack, allowing for full control independently of the bike. This might require some additional practice, though.
I suggest setting the EWMA filter to 20-40% (both Min. & Max.) with "Curve" at 10% (it doesn't really make a difference). The movement range and linearity can be adjusted through the mapping curves but be careful to only edit the curve of the largest "max input" (haven't yet understood what is going on there).
Calibrate the joystick by enabling "Center on startup" in the options, then clicking Start and checking the outer ends of the mapping curves while moving the stick. If they don't line up properly, stop tracking, slightly change the resting/0 position of the stick and restart tracking. Once you have it properly calibrated, make sure to deactivate "Center on startup" in the options so that these calibration settings stay permanently.
Bind both "Start tracking" and "Restart tracking" to the same button in the OpenTrack options for when GPB resets the FreeLook mode.
I attached my INI for controlling X and Z axis with the right thumbstick of a X360 gamepad. It goes into the opentrack folder under Documents. You can use the mapping curves as a starting point for your setup.

Explanation
You are basically sending fake headtracking data to GPB which allows you to freely move and rotate the first person view beyond the default limits.
GPB handles this little hack very nicely, in that all view settings that are not being manually overridden by OpenTrack are kept to the user defined values. So when only mapping the X axis (which is all that is needed really), the default F/B view movements and all your settings (pitch, tilt, lean heading) remain. This means that you don't have to completely relearn first person riding, you just have to get used to the bike no longer being visible in corners like in reality.