diff --git a/gui/dialogs/osg_display_settings.xml b/gui/dialogs/osg_display_settings.xml new file mode 100644 index 000000000..da319f633 --- /dev/null +++ b/gui/dialogs/osg_display_settings.xml @@ -0,0 +1,182 @@ + + + + + + osg-display-settings + false + false + vbox + 3 + + + hbox + 1 + + + true + + + + OSG Display Settings (experimental) + + + + true + + + + + Esc + 16 + 16 + 2 + + dialog-close + + + + + + + hbox + 1 + Stereo Mode + true + + 250 + 25 + true + /sim/rendering/osg-displaysettings/stereo-mode + OFF + QUAD_BUFFER + ANAGLYPHIC + HORIZONTAL_SPLIT + VERTICAL_SPLIT + LEFT_EYE + RIGHT_EYE + HORIZONTAL_INTERLACE + VERTICAL_INTERLACE + CHECKERBOARD + + dialog-apply + + + + + + hbox + 1 + Screen Distance + true + + 0 + 1.0 + /sim/rendering/osg-displaysettings/screen-distance + + dialog-apply + + + + 12345678 + %.2f + true + /sim/rendering/osg-displaysettings/screen-distance + + + + + hbox + 1 + Eye Separation + true + + 0 + 0.2 + /sim/rendering/osg-displaysettings/eye-separation + + dialog-apply + + + + 12345678 + %.2f + true + /sim/rendering/osg-displaysettings/eye-separation + + + + + hbox + 1 + Double Buffer + true + + true + /sim/rendering/osg-displaysettings/double-buffer + + dialog-apply + + + + + + hbox + 1 + Depth Buffer + true + + true + /sim/rendering/osg-displaysettings/depth-buffer + + dialog-apply + + + + + + hbox + 1 + RGB + true + + true + /sim/rendering/osg-displaysettings/rgb + + dialog-apply + + + + + + hbox + 1 + Screen Width + true + + 100 + 25 + true + /sim/rendering/osg-displaysettings/screen-width + + dialog-apply + + + + + + hbox + 1 + Screen Height + true + + 100 + 25 + true + /sim/rendering/osg-displaysettings/screen-height + + dialog-apply + + + + diff --git a/gui/menubar.xml b/gui/menubar.xml index f6f8738ba..68fffb6dc 100644 --- a/gui/menubar.xml +++ b/gui/menubar.xml @@ -155,6 +155,14 @@ static-lod + + + OSG Display Settings + + dialog-show + osg-display-settings + +