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
James Turner
54d026e64f
Suppress a warning when using Clang.
2012-03-25 18:46:50 +01:00
James Turner
086df400de
Fix 2.5D panel hit detection, compute logical panel extend from actions.
2012-03-25 18:46:04 +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
924468169d
Ignore empty lines in html output.
2012-03-25 10:34:50 +02:00
ThorstenB
11a9bdf29e
#548 : segfault in AIFlightPlanCreate
...
check "tn != NULL" before calling tn->getGeod()
2012-03-25 10:34:07 +02:00
ThorstenB
bc9331fc3f
No avionics sound group for aimodels.
2012-03-22 23:53:18 +01:00
ThorstenB
7d37f6af58
Don't crash on start-up when avionics sound is disabled.
...
FGFX::init/soundfx::init use "_avionics" unconditionally, so it has to be
valid, even when avionics sound is disabled. Also allow to properly
enable/disable avioncis sound at run-time.
2012-03-22 23:36:39 +01:00
ThorstenB
22c20a2f09
Make FG_OPTIONS_EXIT work.
...
'fgfs --version' wants to exit...
2012-03-17 12:01:51 +01:00
ThorstenB
194520b77e
Adapt 777 directory.
2012-03-16 23:21:31 +01:00
ThorstenB
92d5620b9f
Fix Linux build
2012-03-16 23:21:07 +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
d2411199e8
fgviewer: Update to current initialization structure.
...
Improove argument parsing. Reorder initialization.
2012-03-15 21:11:44 +01: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
Mathias Froehlich
8d3e1b06be
Remove /sim/paths/use-custom-scenery-data.
...
Scenery people tell me that this is always set to true
today. Thus we can remove this property as this allows
me for some further osg loader cleanups.
2012-03-15 18:48:57 +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
60ffb950e2
Consistent white-spacing...
2012-03-12 21:18:37 +01:00
ThorstenB
f453523b67
#706 : Properly set FLTK include directory.
2012-03-12 21:15:05 +01:00
Torsten Dreyer
25c6e8acbd
bind the sky disable cutoff distance to a property
...
There used to be a hardcoded visibility of 1000m below which the
sky was disabled. This distance is now bound to
/sim/rendering/minimum-sky-visibility with a default value of 1000
2012-03-09 21:00:23 +01:00
ThorstenB
6113981b39
#702 : Misspelled "devices" property node.
...
(Typo from my commit earlier this week)
2012-03-08 08:58:44 +01:00