?xml version="1.0"?>
<PropertyList>
<shaders>
<custom-settings type="bool">true</custom-settings>
<clouds type="double">0</clouds>
<generic type="double">1</generic>
<landmass type="double">3</landmass>
<model type="double">0</model>
<contrails type="double">1</contrails>
<crop type="double">0</crop>
<skydome type="bool">false</skydome>
<transition type="double">0</transition>
<urban type="double">0</urban>
<water type="double">3</water>
<wind-effects type="double">0</wind-effects>
<vegetation-effects type="double">0</vegetation-effects>
<forest type="double">0</forest>
<lights type="double">3</lights>
<quality-level-internal type="double">3</quality-level-internal>
<quality-level type="double">-1</quality-level>
</shaders>
<random-objects type="bool">true</random-objects>
<random-vegetation type="bool">true</random-vegetation>
<random-vegetation-shadows type="bool">false</random-vegetation-shadows>
<random-vegetation-normals type="bool">false</random-vegetation-normals>
<vegetation-density type="double">1</vegetation-density>
<random-buildings type="bool">false</random-buildings>
<building-density type="double">1</building-density>
<point-sprites type="bool">true</point-sprites>
<particles type="bool">true</particles>
<clouds3d-enable type="bool">true</clouds3d-enable>
<clouds3d-vis-range type="double">10000</clouds3d-vis-range>
<clouds3d-detail-range type="double">10000</clouds3d-detail-range>
<clouds3d-density type="double">0.25</clouds3d-density>
<shadows>
<enabled type="bool">true</enabled>
</shadows>
</PropertyList>
erik wrote:This is way over thinking of what I had in mind.
The only thing I want to do is detect the video card and based on the GL renderer name turn on ALS (or not), turn on water shader (or not), turn on the 3d city shader (or not), etc.
The default would not be touched but based on the detected video card certain options would get enabled, making the first impression much more pleasant (for first time users).
Erik
# additional utilities
option(ENABLE_FGELEV "Set to ON to build the fgelev application (default)" ON)
option(WITH_FGPANEL "Set to ON to build the fgpanel application (default)" ON)
option(ENABLE_FGVIEWER "Set to ON to build the fgviewer application (default)" ON)
option(ENABLE_GPSSMOOTH "Set to ON to build the GPSsmooth application (default)" ON)
option(ENABLE_TERRASYNC "Set to ON to build the terrasync application (default)" ON)
option(ENABLE_FGJS "Set to ON to build the fgjs application (default)" ON)
option(ENABLE_JS_DEMO "Set to ON to build the js_demo application (default)" ON)
option(ENABLE_METAR "Set to ON to build the metar application (default)" ON)
option(ENABLE_STGMERGE "Set to ON to build the stgmerge application (default)" OFF)
option(ENABLE_FGCOM "Set to ON to build the FGCom application (default)" ON)
option(ENABLE_QT "Set to ON to build the internal Qt launcher" ON)
option(ENABLE_TRAFFIC "Set to ON to build the external traffic generator modules" ON)
option(ENABLE_FGQCANVAS "Set to ON to build the Qt-based remote canvas application" OFF)
option(ENABLE_DEMCONVERT "Set to ON to build the dem conversion tool (default)" ON)
option(ENABLE_HID_INPUT "Set to ON to build HID-based input code" ${EVENT_INPUT_DEFAULT})
option(ENABLE_PLIB_JOYSTICK "Set to ON to enable legacy joystick code (default)" ON)
option(ENABLE_COMPOSITOR "Set to ON to enable the Compositor-based Viewer" OFF)
option(ENABLE_SWIFT "Set to ON to build the swift module" ON)
#ifdef ENABLE_AUDIO_SUPPORT
////////////////////////////////////////////////////////////////////
// Initialize the sound-effects subsystem.
////////////////////////////////////////////////////////////////////
globals->add_subsystem("voice", new FGVoiceMgr, SGSubsystemMgr::DISPLAY);
#endif
enrogue wrote in Tue Feb 18, 2020 1:15 am:I'll just post this here now, I have a successful compile on Debian 10 armhf (via an LXD container on a RK3399 powered Rock960 which runs ubuntu 64bit), and on an RPi3B
The method:
<menubar>
<visibility type="bool">false</visibility>
<autovisibility>
<enabled type="bool">false</enabled>
</autovisibility>
</menubar>
<gui>
<current-style type="int">1</current-style>
<devel-widgets type="bool">false</devel-widgets>
</gui>
Users browsing this forum: No registered users and 5 guests