ThorstenB
efa18fae1e
Add CMake option to disable building test applications.
2012-04-08 18:49:11 +02:00
ThorstenB
b920fc27b1
Geoff McLane: Fix compile error due to missing include.
2012-04-08 18:46:17 +02:00
ThorstenB
da2ee04eea
Fix scenery reload issues.
...
Aircraft could fall through the ground on scenery reload.
2012-04-07 16:35:04 +02:00
ThorstenB
82d66caaf2
Comment out some unused vars.
2012-04-07 16:20:22 +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
cab350d7fc
YASim performance optimization
...
Use stashed property nodes.
2012-04-05 21:06:39 +02:00
ThorstenB
7dc8db8ef5
Fix some compiler warnings.
...
Also removes "itm.cpp" from CMake to avoid code duplication/warnings, since
this the file is already included by radio.cxx.
2012-04-05 21:02:09 +02:00
ThorstenB
8c74b47a0d
Add "--max-fps" option to limit frame rate.
2012-04-05 21:02:09 +02:00
ThorstenB
ed1ec90287
YASim performance optimization
...
Several functions of YASim's math wrapper are hotspots. Allow compiler
optimization/inlining.
2012-04-05 21:02:09 +02:00
ThorstenB
5f1435b4fd
Avoid "using..." in header files.
2012-04-05 21:02:09 +02:00
ThorstenB
5fb6614c23
Remove unused variables (moment/ias)
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
Erik Hofman
47a910bccc
Make sure _avionics is enabled before calling suspend, this fixes a crash caused by the way AI models are handled now.
2012-03-31 11:45:28 +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
0dcadb7e1a
Fix a typo in proptest.cpp
2012-03-30 20:59:39 +02:00
Frederic Bouvier
440234d4eb
Compile proptest.cpp with MSVC. There is still a link problem though
2012-03-30 07:41:08 +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
Emilian Huminiuc
825d6565a4
YASim: enable building of YASim's proptest utility
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-03-29 09:29:29 +01:00
ThorstenB
5ef15023fc
Properly drop empty tiles from tile cache.
...
Tiles which expired before being loaded could clog the tile cache.
2012-03-28 23:03:13 +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
James Turner
55105baa25
PUI doesn't use SSG (and never has). Ooops.
2012-03-28 09:37:58 +01:00
James Turner
d91bb28fea
Mac nightlies need the DDS plugin.
2012-03-28 09:37:33 +01:00
James Turner
f0bf3ed841
Fix total-distance computation in the route-manager, and expose some additional values - departure and arrival field elevation, and total distance along the route of a waypoint. (Addresses some feature requests)
2012-03-27 21:54:38 +01:00
ThorstenB
a8fe035b54
#723 : perpetual "GPS init complete" info messages.
...
Don't report "init complete" unless "init" is complete :).
2012-03-27 21:24:54 +02:00
ThorstenB
02b160c5ff
#718 : java client example not compiling
...
Util.java was added to the repo commenting "Half-finished utility class.".
No more progress since (10 years!), so just exclude the file from the
java build by changing its extension.
2012-03-27 21:06:29 +02:00
James Turner
a4deeb332e
Fix All-FDMs linkage. Thanks Torsten, no idea what ar/ld interaction is happening here.
2012-03-27 15:07:34 +01: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
ThorstenB
1df5347a06
Fix "use of uninitialized data" reported by valgrind.
...
(issue triggered when FGGlobals::saveInitialState copies the entire
property tree on start-up).
2012-03-26 21:11:04 +02:00
ThorstenB
2f7f5da4ad
marker beacon: catch NULL pointer
...
when runway not in navdb (affects incomplete/inconsistent nav data only).
2012-03-26 21:11:04 +02:00
ThorstenB
cabb17818f
Fix "use of uninitialized data" reported by valgrind.
...
(also pushed to JSBSIM cvs)
2012-03-26 21:11:04 +02:00
ThorstenB
c14343d02b
AIFlightPlan: Initialize the same member variables in all constructors.
...
distance_to_go / lead_distance were not initialized in all constructors.
Fixes 'condition on uninitialized data' reported by valgrind.
Also comment-out unused vars.
2012-03-26 21:11:03 +02:00
ThorstenB
39ce84ac52
Replace unnecessary use of copy constructor.
2012-03-26 21:11:03 +02:00
ThorstenB
f14ca9c611
tilemanager: initialize member variables
...
Also drop some obsolete members.
2012-03-26 21:11:03 +02:00
James Turner
4bde2451b0
Avoid a crash when using the native menubar on Mac, due to non-static classes with identical names.
2012-03-26 17:38:09 +01:00
James Turner
59253531bc
Fix YAsim linkage.
2012-03-26 16:09:21 +01: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