scp-fs2open / scp-fs2open/fs2open.github.com
VR - floating HUD elements lose alignment when head-mounted display moved
- Dominant language
- C++
- Stars
- 487
- Forks
- 184
- PR merge metrics
- PR metrics pending
Description
Brilliant work on the VR support, it is incredible to use, but unfortunately I am experiencing a disorienting bug with the floating hud elements when I turn my head as shown in the screenshot below (as you can see the target box has moved away from the targeted ship and the crosshair is not correctly positioned either). The example video in the [VR feature release](https://www.hard-light.net/forums/index.php?topic=98985.0) thread shows correct HUD behaviour.
Builds tried: 24.2, 24.0.2, Nightly
OS: Windows 11
GPU: Geforce RTX 2080Ti
VR HMD: Oculus Rift (CV1)
Issue occurs when using both Oculus and SteamVR runtimes for OpenXR. I also tried overriding Windows DPI scaling.
Command line: this is the same as default for the VR mod except amended resolution and addition of -no_ingame_options (reverting these changes has no impact)
-stretch_menu -soft_particles -dualscanlines -targetinfo -rearm_timer -3dwarp -warp_flash -aa -nolightshafts -window -no_vsync -capture_mouse -ship_choice_3d -weapon_choice_3d -ambient_factor 80 -spec_point 0.3 -spec_static 1.2 -spec_tube 0.3 -bloom_intensity 15 -parse_cmdline_only -res 1344x1600 -window_res 1344x1600 -vr -no_ingame_options

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.