1
0
Fork 0
Commit graph

137 commits

Author SHA1 Message Date
James Turner
342436187e Rendering dialog: fix initial preset combo value 2021-04-02 16:38:55 +01:00
Fernando García Liñán
69387f09f4 Reduce shader complexity and implement graphics presets
- All non-ALS Effects have been removed (except generic ones from model-default and terrain-default).
- The rendering dialog has been reworked to accomodate the changes.
- All necessary properties have been added to graphics-properties.xml
- Five graphics presets have been added: Minimal, Low, Medium, High and Ultra.
- Some unused properties have been removed from defaults.xml
2021-03-31 04:05:34 +02:00
Stuart Buchanan
d15c7f7b20 WS30: LOD Range GUI for WS3.0
GUI changes to allow control of line feature rendering
and provide a more intuitive UI for other WS3.0 parameters
2021-03-07 19:29:39 +00:00
Scott Giese
a98622a677 WS3: Allowed for OSG versions 3.7 (or 3.6) 2021-02-27 00:33:18 -06:00
Stuart Buchanan
721f7cef00 WS30 Line Features
Move some WS3.0 LoD settings to the static-lod dialog.
2021-02-24 21:57:48 +00:00
Stuart Buchanan
355a75b6a1 WS30: Random vegetation LOD control
Control the LOD level that random vegetation is
generated for WS3.0.
2021-02-09 18:17:29 +00:00
Stuart Buchanan
b8c6d1c01e WS30: Only enable WS30 on OSG 3.6.X 2021-02-02 16:55:00 +00:00
Stuart Buchanan
c9428e0beb OSM2City: Add Details and Trees directories
Update defaults.xml and Rendering dialog to include
Details and Trees directories, for use by osm2city
2021-02-02 15:56:07 +00:00
Stuart Buchanan
9c556e5425 WS30: Add WS30 controls to rendering dialog 2021-02-02 15:20:58 +00:00
Stuart Buchanan
dd80c82747 WS30: Property configuration VPB
Configure the VPB elevation mesh via properties:
/scenery/elevation-mesh/sample-ratio controls the elevation
mesh sampling, allowing reduction in mesh size

/scenery/elevation-mesh/vertical-scale is just for fun and
scales the mesh vertically making mountains taller.

/scenery/elevation-mesh/constraint-gap-m controls how much below
airports etc. elevation vertices are forced to be.
2021-01-27 20:05:49 +00:00
Erik Hofman
9872ac5c55 Always enable ALS and remove the texture selection option in the rendering menu: the only one left is regioanal texturing. 2021-01-18 09:05:05 +01:00
Scott Giese
76f7f1b698 Photoscenery: Initial commit
Author: Nathaniel Warner
2020-11-23 19:48:01 -06:00
Julian Smith
c79f3f0551 gui/dialogs/rendering.xml: added checkbox for shadows.
Has a note saying 'May need restart to take affect' because it seems that
shadows never work unless enabled on startup. Note that the property setting is
persisted.
2020-11-17 20:15:43 +00:00
Stuart Buchanan
f8fdd58c43 Add max-paged-lod, triangle-directional-lights
Also restructure dialog somewhat.
2020-05-10 16:23:54 +01:00
Stuart Buchanan
ed375fa632 Fix display of Random Buildings settings. 2019-09-25 20:56:24 +01:00
Scott Giese
09d99a2a6d "Very Low Density" missing from random-vegetation nasal script.
Courtesy of wkitty
2018-12-28 00:45:46 -06:00
Richard Harrison
3257e667df Added UI checkbox for DDS Texture Cache 2018-11-24 20:06:52 +01:00
Richard Harrison
160abde2a6 LOD dialogs rework.
Big rework of the Adjust LOD ranges dialog to hopefully make it easier to understand, and harder to setup so that models aren't visible by accident.

All range entry is now via sliders.

The sliders are deltas from the previous value.

There is now the option to specifically choose either low detail or high detail AI/MP models. *NOTE* that for models without a fallback index the low detail model will be the blue yellow glider.

There is now clear indication of what happens for the Meters or Pixel modes.

Added a defaults button that will restore a reasonable set of default values.

The properties that were used have been renamed to ensure that sensible defaults will be picked, ideally we'd have a way to migrate things like this but I don't think we do, so this is a reasonable alternative.
2018-10-30 20:19:10 +01:00
Stuart Buchanan
9f9ea1cf8e Rendering options to set preferred MP model
GUI and default property for /sim/multiplay/use-detailed-models
to indicated if we prefer to use detailed models from Aircraft (true)
or simpler models from AI (false).
2018-05-28 20:56:28 +01:00
Stuart Buchanan
d472c88dcd Provide more granularity on tree density
https://sourceforge.net/p/flightgear/codetickets/1976/
2017-07-04 21:46:20 +01:00
Stuart Buchanan
a5e848d8a5 Fix GUI elements referencing "tile-manager" 2017-03-26 20:34:41 +01:00
Thorsten Renk
14e41b56a4 Make random vegetation density selection text go back to High Density rather than Very High Density when dialog is re-opened. 2017-03-04 17:24:54 +02:00
Thorsten Renk
e1dcd3f38c Run urban shader in lightmap-only mode when either random or OMS buildings are enabled 2017-02-23 10:13:22 +02:00
Thorsten Renk
c1811dd481 Partially fix tree shadow dialog - the problem is this still needs anti-aliasing enabled to work and this isn't communicated 2017-02-23 09:41:36 +02:00
Stuart Buchanan
b6e90b6976 Updated Rendering dialog, add scenery-path-suffix 2017-01-21 21:44:05 +00:00
Erik Hofman
b8068f314f A density of 10 is ridiculously dense, 5 seems about natural 2016-06-29 15:34:35 +02:00
Thorsten Renk
5b789edaf4 GUI for ALS filtering by Jonathan Schellhase 2016-04-26 09:02:23 +03:00
Stuart Buchanan
b4d16682ce GUI Cleanup from Michael HABARTA. Part 3/3 2015-05-03 17:13:50 +01:00
Thorsten Renk
3b44cbd6bd Random vegetation shadows for ALS 2015-02-20 09:55:13 +02:00
Stuart Buchanan
a0c93de91c Reload scenery only after change to relevant param 2014-08-01 22:18:19 +01:00
Stuart Buchanan
bbb501e36a Reload scenery on exit from Rendering dialog.
Various updates to the Rendering Dialog
- Remove experimental reduced LoD options
- Remove Reload Scenery
- Automatically Reload Scenery on OK.
2014-07-31 21:34:48 +01:00
Stuart Buchanan
50a202a997 Use osgUtil::Simplifier to simplify terrain. 2014-02-23 21:09:57 +00:00
Stuart Buchanan
f99745acd7 Effects file for surface lights 2014-02-18 21:27:51 +00:00
Thorsten Renk
22e3852cad Impostors simulating distant clouds for Advanced Weather / ALS 2014-02-17 10:21:26 +02:00
Thorsten Renk
9552268198 Removed Experimental label and warning that ALS disables most shaders from rendering dialog - both are no longer true 2014-01-13 11:01:08 +02:00
Philosopher
9a3bf2d0a7 Update view.screenWidthCompens
* make into singleton class
* make sure FOV changes take place *immediately* when required
* current FOV is scaled with changes, though being preserved: resizing
  window and going back ends up with the same FOV
2013-10-19 21:27:21 -05:00
Stuart Buchanan
a604241784 Add warning message for users with Intel integrated graphics cards. 2013-02-01 21:55:28 +00:00
Stuart Buchanan
33a5d73cc4 Rename DDS materials.xml label. 2012-10-10 20:50:45 +01:00
Stuart Buchanan
5a7cdf6a04 Move wide screen compensation to the rendering dialog. 2012-10-07 23:19:03 +01:00
Stuart Buchanan
56241b81f6 Add function allowing selection of the materials.xml file to Rendering Options dialog. 2012-10-06 23:03:40 +01:00
Stuart Buchanan
4ec24853a8 Create an Environment Settings dialog for non-weather environment settings
such as snow level, dust, wetness, and texture set.

Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Stuart Buchanan
c71e0b92f1 Add warning text for random buildings, which require lots of memory. 2012-08-09 21:48:27 +01:00
Stuart Buchanan
e91620a456 Remove building density slider. Values > 1.0 have massive memory
impacts and can result in FG paging to disk continually and hanging
some systems, with no obvious cause or fix (particularly with auto-save).

For the moment we simply remove the slider, allowing power users to
modify the density in preferences.xml.

Once the memory consumption of buildings has been addressed we should
be able to put the slide back in.
2012-07-19 21:36:06 +01:00
Stuart Buchanan
efe0ba3bd5 Improve layout of season selector. 2012-07-12 12:13:48 +01:00
Stuart Buchanan
680362337c Add control of season to GUI to be set in-sim. 2012-07-06 20:11:51 +01:00
Stuart Buchanan
9d8868245e Limit change of building density to 0.1, to match display. 2012-06-30 22:15:07 +01:00
Stuart Buchanan
c7377a5732 Make building density display consistent with vegetation density.
No-one needs two decimal places :)
2012-06-30 21:43:59 +01:00
Gijs de Rooy
38b38aeee2 Hide unsupported shader options when using lightfield or Rembrandt renderer. 2012-06-20 23:11:26 +02:00
Gijs de Rooy
573c94f88e Always show correct setting on fps throttle slider. 2012-06-17 16:43:18 +02:00
Gijs de Rooy
d164d9b2a7 Special Rembrandt dialog with all available options. Cleanup rendering dialog to make place for Rembrandt button. 2012-06-16 23:27:58 +02:00