Demo: FreeSpace 2 Open with head tracking from Viture Pro XR glasses IMU data – on Linux PC
Until now I used OpenTrack with my DIY IR tracker or the Neuralnet tracker. I knew that my XR glasses feature IMU data though and the xr_driver of the Breezy Desktop project allows to access the data via IPC on Linux PC. So I did what Linux user do: I wrote a script to access the IMU data and forwarded it via UDP to OpenTrack:
Pick your poison to watch the video: https://www.youtube.com/watch?v=njuumLUvqrM / https://makertube.net/w/2bNyxJhdyydTeFq17onikv
This reminded me that I also wrote a proof of concept to implement the FaceTrackNoIR (or OpenTrack) protocol into FreeSpace 2 Open on Linux PC ( https://makertube.net/w/7VtfAjW7EiAUS5aiPwG7if ) so I gave it a spin to test the data bridge. That was smooth sailing!
The mod is Diaspora: Shattered Armistice, still awesome today: http://diaspora.hard-light.net/ (Warning: This may fuel a desire to re-watch the BSG series again 😀).
The bridge code can be found at https://github.com/bekopharm/xr_to_opentrack (pending changes).
It works with the Breezy GNOME xr_driver: https://github.com/wheaney/breezy-desktop (but the Vulkan one works probably too but that’s untested). It should also be compatible with other glasses that have IMU for Breezy available.
Update: hodasemi wrote a Rust connector based on the idea that works without Breezy: https://github.com/hodasemi/xr_to_opentrack_rs – comes with a systemd service file so it can run in the background. Once installed the only step left to do is fire up OpenTrack 🤘
https://beko.famkos.net/2025/01/31/demo-freespace-2-open-with-head-tracking-from-viture-pro-xr-glasses-imu-data-on-linux-pc/
#AR #BattleStarGalactica #Breezy #BSG #diaspora #FreeSpace #FreeSpace2 #gaming #gamingonlinux #headtracker #Headtracking #linux #linuxgaming #opentrack #Viture #ViturePro #VR #XR