1
0
Fork 0
flightgear/src/Viewer
James Hogan b9efba55e7
src/Viewer/splash: VR splash screen
Use a quad composition layer object from osgXR 0.3.9 to make the splash
screen VR friendly. This allows the OpenXR compositor to redraw the quad
without any updates from flightgear, which is particularly helpful as
flightgear makes no attempt at a reasonable VR frame rate during
initialisation.

The quad is positioned 2 meters from the user, with an aspect ratio
matching the desktop window. The quad is blended using an
unpremultiplied alpha channel which is forced to a given alpha value by
osgXR.

The splash is effectively already rendered to an FBO as non-linear SRGB,
so this is made explicit in the internal texture format, with the
rendering to the desktop window using GL_FRAMEBUFFER_SRGB to ensure it
is properly re-encoded.
2022-07-12 22:38:53 +01:00
..
CameraGroup.cxx src/Viewer: Move splash to cam group camera 2022-07-12 22:38:53 +01:00
CameraGroup.hxx src/Viewer: Move splash to cam group camera 2022-07-12 22:38:53 +01:00
CMakeLists.txt VR: Implement minimal VR support 2021-09-03 12:09:20 +01:00
fg_os_osgviewer.cxx VSCode applied formatting. 2022-05-16 12:15:05 +01:00
FGEventHandler.cxx src/Viewer/FGEventHandler.cxx: reduced noisy diagnostic with custom camera-group. 2021-08-03 15:37:37 +01:00
FGEventHandler.hxx src/Viewer/FGEventHandler.*: fixed mouse events in non-main window without CompositeViewer. 2021-04-11 16:40:27 +01:00
fgviewer.cxx CompositeViewer: Support for multiple view windows using osgViewer::CompositeViewer. 2020-11-21 13:27:02 +00:00
fgviewer.hxx Move viewer-related sources to separate folder. 2012-04-25 23:28:00 +02:00
GraphicsPresets.cxx Implement saving of graphics presets to XML 2021-04-04 16:10:38 +01:00
GraphicsPresets.hxx Add missing include 2022-05-11 13:04:11 +01:00
PUICamera.cxx CompositeViewer: Support for multiple view windows using osgViewer::CompositeViewer. 2020-11-21 13:27:02 +00:00
PUICamera.hxx CompositeViewer: Support for multiple view windows using osgViewer::CompositeViewer. 2020-11-21 13:27:02 +00:00
renderer.cxx src/Viewer: Move splash to cam group camera 2022-07-12 22:38:53 +01:00
renderer.hxx src/Viewer: Move splash to cam group camera 2022-07-12 22:38:53 +01:00
splash.cxx src/Viewer/splash: VR splash screen 2022-07-12 22:38:53 +01:00
splash.hxx src/Viewer/splash: VR splash screen 2022-07-12 22:38:53 +01:00
sview.cxx Cope with SGPropertyNode::getStringValue() now returning std::string by value. 2021-12-24 14:49:06 +00:00
sview.hxx src/Viewer/sview.*: fixed various issues with extra view windows. 2021-08-06 21:48:32 +01:00
view.cxx Cope with SGPropertyNode::getStringValue() now returning std::string by value. 2021-12-24 14:49:06 +00:00
view.hxx Tests: skeleton ViewManager/Views tests 2020-09-08 12:31:42 +01:00
viewmgr.cxx src/Viewer/viewmgr.*: fixed bug when /sim/aircraft contains '.' chars. 2022-06-05 19:43:46 +01:00
viewmgr.hxx src/Viewer/viewmgr.*: fixed bug when /sim/aircraft contains '.' chars. 2022-06-05 19:43:46 +01:00
ViewPropertyEvaluator.cxx src/Viewer/ViewPropertyEvaluator.cxx: cope with root node being bool. 2020-03-22 19:26:28 +00:00
ViewPropertyEvaluator.hxx src/Viewer/ViewPropertyEvaluator.*: added getBoolValue(). 2020-03-16 21:08:48 +00:00
VRManager.cxx VRManager: Handle removal of prop getValue<const char *>() 2022-01-08 22:47:59 +00:00
VRManager.hxx VRManager: Handle removal of prop getValue<const char *>() 2022-01-08 22:47:59 +00:00
WindowBuilder.cxx Canvas cameras are slave cameras instead of scene graph cameras 2021-08-27 18:34:19 +02:00
WindowBuilder.hxx src/Viewer/FGEventHandler.cxx: fixed multi-window event-handling bug. 2021-08-02 22:38:11 +01:00
WindowSystemAdapter.cxx Steps to make PUI optional, HiDPI tolerant. 2017-10-20 12:10:51 +01:00
WindowSystemAdapter.hxx Remove use of unary_function, binary_function 2020-06-22 10:25:51 +01:00