1
0
Fork 0
Commit graph

78 commits

Author SHA1 Message Date
ThorstenB
1727ec1379 #729: make shader options dialog work for migrating users
Users with fgfs <= 2.6.0 have the userarchived flag set for
/sim/rendering/shaders/quality-level, which brakes the new dialog.
2012-04-01 13:06:40 +02:00
Gijs de Rooy
8e863bbd28 Allow shaders to be disabled/set through a commandline option.
Use --prop:/sim/rendering/shaders/quality-level=-1 to enable the custom
settings in the Shader Options dialog.
Apart from that the quality-level property will work as before (0 disables
all shaders, 5 puts all shaders to max.
2012-03-10 17:09:23 +01:00
ThorstenB
f8e4c2165d #643 rendering options dialog, "sky dome scattering" vs "shader quality"
"Shader quality" slider does not influence/enable/disable the "sky dome
scattering" effect, so the GUI checkboxes should also be independent.
2012-02-06 23:24:05 +01:00
Stuart Buchanan
207b6edf60 Random object and vegetation masks, and vegetation density control. 2012-02-05 23:08:08 +00:00
Gijs de Rooy
7bb78e9477 Correct model shader slider range. 2012-01-03 14:22:56 +01:00
Gijs de Rooy
6c971211b8 Quality slider overwrites custom shader settings. All effects now listen to the new sim/rendering/shaders/<foo> properties. 2011-12-12 17:04:36 +01:00
Gijs de Rooy
f852529e56 Adjust snow line based on METAR. Snow level is only adjusted when METAR reports snow below the user set altitude. 2011-12-06 20:39:05 +01:00
Gijs de Rooy
2ca355bc82 Fix issue #511: effects use new property for snow-level 2011-12-06 11:33:19 +01:00
Vivian Meazza
8a5b3d744f Bugfix
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-02 15:50:56 +00:00
Vivian Meazza
2be5380532 Correct path for snow, adjust slider size
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-02 15:41:42 +00:00
Vivian Meazza
c7db6b995b Make all shaders controllable collectively and individually
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 21:55:00 +00:00
Vivian Meazza
0a059aad74 Modified dialog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-11-28 09:22:42 +00:00
Stuart Buchanan
cc58f7e32e Remove reliance of 3d clouds on /sim/rendering/shader-effects 2011-11-24 22:30:36 +00:00
Stuart Buchanan
6fc8b10667 Fixes for random vegetation:
1) Remove dependency on the /sim/rendering/shader-effects
2) Fix http://code.google.com/p/flightgear-bugs/issues/detail?id=494 where
toggling the random vegetation on, iff initiall set off, did not generate
new random vegetation. Fixed by forcing a tile reload in the same way as
used for random objects.
2011-11-24 21:41:05 +00:00
ThorstenB
935380d3cf Fix: "Enable animated jetways" setting not working
Checkbox in rendering dialog toggled the wrong/non-existing property...
2011-08-14 13:51:49 +02:00
ThorstenB
5e09b47f06 Highlight the headline "experimental"
Some test reports suggest people didn't notice the "experimental" bit...
2011-08-13 13:01:23 +02:00
Stuart Buchanan
6b09683170 Increase maximum 3D cloud visibility range to 45km to help with Local Weather integration. 2011-08-07 13:42:33 +01:00
ThorstenB
faa27266dc #232: reintroduce "point sprites for runway lights" switch
Make runway lights work when point sprites aren't enabled (mainly ATI)
(also requires fg/sg update).
Some white-space cleanup.
2011-07-31 13:13:37 +02:00
Ryan Miller
96da518d8d New animated jetway system; add support for EGKK, EHAM, KDEN, KLAS, KSFO, PANC, 717, AI 737, AI 744, AI MD-80 2011-05-26 18:10:32 -07:00
Vivian Meazza
c67632905a Add Skydome effect.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-04-15 16:07:53 +01:00
Gijs de Rooy
92f3dee117 Rendering dialog: add random objects option back in 2011-02-19 22:07:44 +01:00
ThorstenB
04aecf90c3 Random object configuration and scenery reloading.
Re-enable "random object" checkbox.
(Debug) option for complete scenery reloading (e.g. use after TerraSync
update or changing options such as "random objects").
2011-02-13 19:31:59 +01:00
Gijs de Rooy
2fb720e2b3 Add cloud-density option back into the rendering dialog 2011-01-02 20:32:38 +01:00
Gijs de Rooy
2b58f46608 Add wireframe to rendering dialog 2010-12-27 21:44:43 +01:00
Stuart Buchanan
3d7d00ead9 Minor changes various dialogs to make generally consistent:
- Title bar with cancel button in top left hand side.
- horizontal line dividing main dialog from bottom buttons
- Minor layout and Nasal fixes.
2010-12-27 20:19:31 +00:00
Gijs de Rooy
72f0ea1fea Issue 181: add object-name to all rendering options. Rename snow level to snow line. Snow dependant on crop, landmass or urban shaders. 2010-12-26 19:26:05 +01:00
Tim Moore
ddcd76c677 Issue 181: add object-name to binding of snow level slider
The dialog-apply binding was setting all the properties in the
rendering dialog, including ones that are tested in technique
predicates. This was causing effects to be reinitialized.
2010-12-26 18:21:26 +01:00
Gijs de Rooy
26ceeac7f1 Gray-out shader-options when shaders are disabled 2010-12-15 13:35:54 +01:00
Gijs de Rooy
cad9ef6967 Add random-vegetation back in 2010-12-14 21:26:46 +01:00
Gijs de Rooy
2fbf60435f Hide checboxes of unused/broken features. 2010-12-13 22:30:15 +01:00
gral@who.net
b92252c0a3 New checkbox transition shaders to separate rock/transition shader work from crop shaders 2010-08-31 10:29:51 +02:00
Vivian Meazza
0e2aeaf421 Add persistent contrails
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-31 21:34:35 +01:00
fredb
d14a2585c7 Allow more increments 2010-04-11 09:18:59 +00:00
ehofman
2a5a34c771 set the quality slider stepsize to 1.0 (for integers) 2010-04-11 09:03:55 +00:00
fredb
b3c61e6b8c Add a quality index that will help user to choose the level of eye candy vs available hardware performance 2010-04-10 13:33:14 +00:00
stuart
6b4857ce8c Allow the snow level of the landmass shader to be set from the property system, and expose it in the rendering dialog. Could be used in future to set the snow level based on the current weather. 2010-03-27 14:02:56 +00:00
fredb
c9236ad565 First iteration of the urban effect with relief mapping. Relief map by HB-Gral. 2010-03-12 22:25:19 +00:00
stuart
1807917d0c Updated Rendering and Display options dialogs. 2009-11-22 19:26:06 +00:00
sydadams
d6db41f31d Reorganized the rendering menu 2009-10-15 03:25:05 +00:00
sydadams
a2a0534aab added a separate "effects" dialog, may need tweaking still
Added an option in the View Options to shut off the view name popup
2009-10-08 02:19:37 +00:00
timoore
943ba2a4fe Till Busch - effects, shaders and textures for crop and water effects
Incorporated changes to effects file syntax. Changed Till's landmass
to mix in the base terrain texture. Some shader cleanup.

Also, add a GUI control for enabling shaders.
2009-08-08 10:17:58 +00:00
timoore
df03142574 new properties for shadows 2009-07-15 22:49:00 +00:00
fredb
828c2069aa Stuart :
- Removes the cloud type re-use code - I think they aren't worth the graphical artefacts that they cause in light of Tim's improvements
- Changes the transparency of the clouds. Previously, the clouds were transparent at 0m distance, opaque at 200m, then gradually more transparent to the fog limits. This meant they were generally quite transparent. Now, they are opaque from 200m to 15km, then become transparent at 20km. A side effect of this is that the current textures could probably benefit from being made slightly transparent to improve the blending of the sprites against each other.
2008-12-11 08:29:36 +00:00
fredb
31977abb98 Stuart Buchanan :
This provides the following enhancements & bug fixes
- Fix the chequer-board bug.
- Add proper cloud coverage function - so scattered clouds are now truly scattered.
- Add real-time control for visibility range.
- Use a limited set of clouds rather than generating a completely new Geode for each cloud. This saves sorting and display time.
- Add controls to Rendering dialog to allow fine-tuning of the number of sprites, cloud visibility and the number of different types of cloud.
- Add some variance to the sort back-off to avoid all clouds being sorted at the same time.
- Pack attributes into vectors for performance
- Re-order the cloud type determination code so that if a cloud layer could either be stratus or cumulus, cumulus is used.
- Lowered the cloud level in the standard cloud configuration slightly so a cumulus layer is generated rather than stratus.

These last two mean that you should see some 3D cumuli if disabling real weather fetch.

My thanks to Yon Uriarte for his help with performance work.
2008-12-04 20:57:55 +00:00
mfranz
f104544ef8 only enable precipitation if it's enabled in the gui
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 10:37:19 +00:00
stuart
2c2a67a021 Remove redundant 3D cloud controls. 2008-11-06 19:11:31 +00:00
mfranz
43394835b0 add explanation for "particles" 2008-10-20 20:24:50 +00:00
mfranz
4393681be9 add flag/checkbox to enable/disable particles 2008-10-17 21:21:22 +00:00
mfranz
2040b96b4f s/show_widgets/enable_widgets/ (the function doesn't show anything) 2008-08-03 15:37:43 +00:00
mfranz
c404626aa8 enable hiding of widgets again, this time in a saner way :-) 2008-08-03 13:43:30 +00:00