ThorstenB
b358af2611
Minor clean-up.
2012-04-21 19:06:10 +02:00
ThorstenB
2a4ab38e70
Move another string to the language resource.
2012-04-18 15:44:42 +02:00
ThorstenB
201d9d7852
Be more tolerant about locale name when detecting the default language,
...
i.e. consider the German resource provided for "de_DE" or "de" when
locale name is "de_DE.utf8".
2012-04-18 15:43:42 +02:00
James Turner
516d92c077
Fix part of #263 , --language option not working for --help.
2012-04-18 12:46:26 +01:00
James Turner
2218a44ed7
Support loading PropertyList data remotely, as part of #450 . Along the way, centralise the HTTPClient object so it can be used beyond the METAR download engine.
2012-04-18 10:25:27 +01:00
Frederic Bouvier
7d3195aaa6
Make the number of shadow cascades and the range of each configurable
2012-04-17 09:13:54 +02:00
James Turner
96ee2b1577
Tweak ODGauge usage, fix multiple instances of NavDisplay or wxRadar.
2012-04-15 12:03:21 +01:00
Frederic Bouvier
0a1417e06d
Get rid of RG16 buffer made possible by a different way to encode normals
2012-04-12 23:59:42 +02:00
ThorstenB
4348f17b8c
#738 : crash when switching 2D panels
...
FGPanelNode doesn't always own its "_panel" object - so it's not ok to
always delete it. Use ref-counting/smart-pointers instead.
2012-04-12 00:03:16 +02:00
Frederic Bouvier
ec4b006c08
Rembrandt: Restore rendering stats
...
intercept first change in stats display to change stats handler camera render order
2012-04-09 17:41:33 +02:00
ThorstenB
9effb06047
Fix scenery reload issues.
...
Aircraft could fall through the ground on scenery reload. Properly reset
the "sceneryloaded" flag to pause FDM processing while scenery is being
reloaded. Also stop processing some instruments while scenery is reloaded.
2012-04-07 16:20:22 +02:00
Frederic Bouvier
43f7ebcb35
Restore splash screen for the Rembrandt renderer
2012-04-05 23:30:38 +02:00
ThorstenB
8c74b47a0d
Add "--max-fps" option to limit frame rate.
2012-04-05 21:02:09 +02:00
Torsten Dreyer
68e1a8c4cb
Autopilot: save loads of CPU cycles
...
Not every xml-autopilot filter needs to run at the update rate
of the FDM. This only makes sense for the autpilot filters. Those,
who update instrument needles or environment properties for example
may run at frame rate.
This patch (thanks to ThorstenB, who is the author) forces those
filters defined in /sim/systems/autopilot into the FDM loop and those
defined in /sim/systems/property-rule into the default loop. They
show up as xml-autopilot and xml-proprules in the performance monitor
2012-04-05 20:40:07 +02:00
Frederic Bouvier
44de0e1df4
Honor /sim/rendering/shadows/enabled preference
2012-04-04 20:43:16 +02:00
Frederic Bouvier
f7174f5422
Code cosmetic
2012-04-03 23:17:04 +02:00
Frederic Bouvier
8f5e9619aa
Fix issue with sky added in commit 25e0ab0b82
2012-04-03 08:41:28 +02:00
Frederic Bouvier
93ad2f2ef6
Hopefully fix the shadow disappearing because of range animation issue in a more elegant way
2012-04-02 23:54:31 +02:00
Frederic Bouvier
65d86e872d
Restore messages and fog draw order reverted in the previous commit
2012-04-02 23:36:34 +02:00
Frederic Bouvier
93d97374e1
Revert "Disable LOD when rendering to the shadow map."
...
This reverts commit e46357d819
.
2012-04-02 20:07:29 +02:00
Frederic Bouvier
25e0ab0b82
Enable light source for transparent surfaces
2012-04-01 23:37:47 +02:00
Frederic Bouvier
e46357d819
Disable LOD when rendering to the shadow map.
...
Produce few NaNs at start
2012-04-01 23:07:33 +02:00
Frederic Bouvier
b05bbddde5
Make the shadow map available for effects
2012-03-31 22:50:38 +02:00
Frederic Bouvier
7e6ecfec56
Fix picking zone display
2012-03-31 21:59:50 +02:00
Frederic Bouvier
e4094356f5
Be sure to not render light volumes in the classical renderer
2012-03-31 20:39:47 +02:00
Frederic Bouvier
2416f9f8d8
Working spot and point lights
...
Use 8bit normals if /sim/rendering/no-16bit-buffer is set to true. May be usefull for old card returning 0x8cda at fbo setup time
White/gray specular material
s/Tabs/Spaces/
2012-03-31 20:16:36 +02:00
Frederic Bouvier
954a09dce1
Shadow map size settable at run-time. It needs to be a power of two. Now needs a real gui dialog
2012-03-30 22:30:26 +02:00
Frederic Bouvier
1194f1f991
Implement Cascade Shadow Mapping in the Rembrandt renderer.
...
Shadow map size is set by the /sim/rendering/shadows/map-size property before starting fgfs. Its default value is 4096. Maximum value is 16384 in most card
2012-03-30 07:28:04 +02:00
Frederic Bouvier
8a382cd536
Fix normal storage into texture data. Input [-1..1] should be output to [0..1]
2012-03-28 22:39:28 +02:00
ThorstenB
834d4e1e3e
CameraGroup: adapt order of member vars to their init sequence.
...
(Avoids flood of "init sequence" GCC warnings, whenever CameraGroup.hxx
is included anywhere)
2012-03-26 21:21:41 +02:00
ThorstenB
d436484c21
Prevent negative alpha value
...
(affects splash screen)
2012-03-26 21:11:04 +02:00
James Turner
a38362646d
Don't create intermediate static libraries for build fgfs. (Speeds up rebuilds in Xcode dramatically, possible in other IDEs too)
2012-03-26 13:09:39 +01:00
Frederic Bouvier
2e735e6234
Warn of harmless messages caused by the Rembrandt renderer
2012-03-25 19:05:10 +02:00
Frederic Bouvier
79396655a3
Remove tabs
2012-03-25 16:07:56 +02:00
Frederic Bouvier
416e6df9e3
First, preliminary, code of the Rembrandt renderer.
...
The new renderer is activated by the --enable-rembrandt option, or in the preferences.xml file.
The renderer at this stage doesn't have shadows yet, and shows a lighting bug. The slash screen doesn't work too.
2012-03-25 16:06:54 +02:00
Frederic Bouvier
86185c8014
Add options to enable or disable the Rembrandt renderer
2012-03-25 15:28:19 +02:00
Frederic Bouvier
400129ae15
Allow any number of cameras as render stages for a single viewport
2012-03-25 15:28:17 +02:00
Frederic Bouvier
19e7163971
Compile with MSVC 9
2012-03-25 14:39:24 +02:00
Frederic Bouvier
94e3ae4c67
Choose renderer from /sim/rendering/rembrandt property
2012-03-25 14:39:22 +02:00
Frederic Bouvier
1a3f69723b
Move camera setup to the renderer
2012-03-25 14:39:19 +02:00
Frederic Bouvier
bca4683d52
Small refactoring in CameraInfo
2012-03-25 14:37:43 +02:00
ThorstenB
22c20a2f09
Make FG_OPTIONS_EXIT work.
...
'fgfs --version' wants to exit...
2012-03-17 12:01:51 +01:00
James Turner
8c187164fe
Work on making 2D panels act like standard scene-graph elements for picking and drawing.
...
(This includes 2.5D panels in the 3D scene)
2012-03-16 17:22:18 +00:00
Mathias Froehlich
1ddb658a70
scenery: Move flightgears paging back into the application.
...
This way of scenery paging is really application code.
Now that the simgear stg loader is seperated from the paging
code, this appication specific paging can reside here.
May be at some time also use the spt stuff here.
2012-03-15 20:56:37 +01:00
Mathias Froehlich
44c716bb03
scenery: The tile entries load callback is not needed anymore.
...
The stg loader can do this itself.
2012-03-15 19:39:07 +01:00
Torsten Dreyer
5caa42af8e
Make use of auto-coordination more flexible
...
- move property /sim/auto-coordination to
/controls/flight/auto-coordination
- introduce new property /controls/flight/auto-coordination-factor
with default of 0.5
- auto-coordinate the rudder if auto-coordination is true and the factor
is greater than zero
backward compatibility for the old property is temporary provided by
a temporary Nasal hack in FGDATA/Nasal/aircraft.nas
2012-03-13 21:00:22 +01:00
ThorstenB
0abf252ec8
Use tiedPropertyLists instead of manually matched tie/untie calls.
...
Ensures we don't forget to untie some individual properties.
2012-03-04 15:30:08 +01:00
ThorstenB
d0d86bf0b7
Fix type issue.
...
multi-sample-buffers is int, not bool.
2012-03-03 21:39:22 +01:00
Mathias Froehlich
742f0eb939
Fix compile past last simgear change.
2012-03-03 14:05:43 +01:00
ThorstenB
da73dd97d3
Clean-up cmake (linker) dependencies.
2012-02-24 22:23:15 +01:00