ThorstenB [Thu, 10 Nov 2011 21:12:54 +0000 (22:12 +0100)]
#424: Don't page out AI objects. Just load lazily.
Changes commit 1e7d072eed9060bede14ff04f8aca57237fad3cd and uses the new
deferred loading - instead of paged (un)loading.
Instead of PagedLOD nodes use ProxyNodes for models in
scenery tiles. This should lower the amount of PagedLOD nodes
in the active scene. Since the models are part of the to level
tiles they are then paged out once the tile is paged out.
James Turner [Sat, 5 Nov 2011 13:18:36 +0000 (13:18 +0000)]
Refactor SGSky handling and ownership - sink into Renderer, remove global variable 'the sky', and hence clean up main loop and subsystem creation a little more.
James Turner [Mon, 31 Oct 2011 13:08:58 +0000 (13:08 +0000)]
Restore options *processing* order (which is now distinct from *parsing* order), to resolve issues when distinct but internally overlapping options are specified, e.g. for initial position or time.
ThorstenB [Sun, 30 Oct 2011 13:48:53 +0000 (14:48 +0100)]
Clean-up date/time option parser.
Add range checks and provide error messages.
Extend time offset to 64bit - so we're safe for 2038-01-19 (and the next
couple of millions years beyond...).
Support partial date/time strings, such as --start-date-gmt=2011 or
--start-date-gmt=:::12:00:00
ThorstenB [Sat, 29 Oct 2011 19:58:11 +0000 (21:58 +0200)]
Configure font in osg StatsHandler for OSG3.
OSG3 relies on "fonts/arial.ttf" being available. FG doesn't provide it -
so it's not necessarily available everywhere (not here). Use one of our
txf fonts instead.
Curtis L. Olson [Sat, 29 Oct 2011 15:36:34 +0000 (10:36 -0500)]
Commit changes to this file so I can switch branches safely, so I can pull
changes to the 2.4.0 branch, so that I can push my actual changes to the
options.cxx file. Go git!
Make use of SGTimeStamp::sleepUntil for accurate sleeping.
For use with frame rate throtteling make use of
SGTimeStamp::sleepUntil. This function should cover the
system dependent parts of accurate sleeps and should
move the system dependent code out of the time manager.
James Turner [Fri, 28 Oct 2011 14:09:10 +0000 (15:09 +0100)]
Fix Mac crashing on exit - link order determines library load order at runtime, and both ALUT and OpenAL.framework (on Mac) define the alut symbols. Fix the order so we always use ALUT.framework for the alut symbols.
Durk Talsma [Thu, 27 Oct 2011 21:24:56 +0000 (23:24 +0200)]
Improved AI taxi behavior:
* Use aircraft specific time-stamps for blocking taxiways
* Issue a stop instruction well-ahead of moving onto a blocked taxiway. This still needs some more braking power.
Durk Talsma [Wed, 26 Oct 2011 20:26:37 +0000 (22:26 +0200)]
* Updated routing algorithm. Just sorting the schedules by usage heuristics doesn't work well for major multihub airlines.
* Improved groundnetwork routing algorithm. Don't uncesscarily block taxiways. Instead, use a "just-in-time" blocking system. The unblocking algorithm still needs some work, but the current version is already a major improvement over the previous version.
* Some tweaks to the handover from ground to tower controller. Aircraft could refuse to take-off of even refuse to taxi onto the runway. This now seems to be solved.
Add a new way to configure multi screen systems.
The new version allows easier configuration of displays
that need to fit at the edges as well as configurations
where the screens match at reference points.
This kind of screen configuration will again zoom.
If set to true, the decision about the near and far
planes in the viewer are still adapted to not clip away
everything before the configured near plane.
Frederic Bouvier [Sat, 22 Oct 2011 08:15:16 +0000 (10:15 +0200)]
Fix a problem in AITraffic where waypoint iterator is trashed by push_back. A cleaner solution would be to use indices instead of iterators to track position in the waypoint vector
James Turner [Sun, 16 Oct 2011 17:35:40 +0000 (18:35 +0100)]
Restructure option/config handling code, to avoid multiple scans & parses for special options (fg-root/fg-aircraft/aircraft). Push most of the code into a new Options class, inside options.cxx, and clean up various call-sites as a result.
Durk Talsma [Mon, 10 Oct 2011 19:55:09 +0000 (21:55 +0200)]
Finetuning of AI Aircraft landing performance. Aircraft slow down to taxi speeds just before leaving the runway. Increased vTaxi on the runway to further reduce time on the runway and slow down to vTouchdown well ahead of touching down.