1
0
Fork 0
flightgear/scripts
James Hogan db4525abf9
VR: Implement minimal VR support
Implement support for virtual reality headsets via version 0.3 of the
osgXR[1] library I've been working on which uses OpenXR.

Add a new VRManager class based on osgXR::Manager to implement its
callbacks. When osgXR needs a new view created, we build a new camera in
the default camera group, and notify osgXR of each new "scene" typed
render pass. It also hooks into the CameraInfo's new compositor reload
callback to ensure osgXR is updated when the compositors are reloaded.

VR settings are controlled by properties, and new --enable-vr /
--disable-vr options are implemented to enable/disable VR at start.

This is enough to get basic VR for looking around the cockpit, but more
work will be required to support a desktop mirror of VR view, VR splash
screen, VR GUI, controller interaction, and correct positional sound.

[1] https://github.com/amalon/osgXR
2021-09-03 12:09:20 +01:00
..
atis Update ATIS voice generation scripts 2012-10-13 15:45:15 +02:00
completion VR: Implement minimal VR support 2021-09-03 12:09:20 +01:00
debug Goodbye automake. 2011-11-01 11:15:53 +00:00
example Maintenance: fgfsclient 2021-02-26 21:11:34 -06:00
java/FGClient #718: java client example not compiling 2012-03-27 21:06:29 +02:00
perl Goodbye automake. 2011-11-01 11:15:53 +00:00
python scripts/python/recordreplay.py: improved testing of normal recordings. 2021-07-31 10:29:11 +01:00
syntax gedit syntaxhighlight/snippet support for Nasal. 2013-11-07 14:30:03 +01:00
tools Move build-ID variables to their own header 2018-08-12 11:18:50 -07:00
CMakeLists.txt Add CMake Linux install directives for the icons and the .desktop file 2017-05-24 22:47:01 +02:00