]> git.mxchange.org Git - flightgear.git/log
flightgear.git
9 years agoQt launcher: additional arguments UI
James Turner [Mon, 23 Feb 2015 13:41:30 +0000 (13:41 +0000)]
Qt launcher: additional arguments UI

Add a plain text edit widget to the launcher to support
custom command line arguments.

9 years agoFlightPlan activation, delegate hook.
James Turner [Sun, 25 Jan 2015 11:29:19 +0000 (11:29 +0000)]
FlightPlan activation, delegate hook.

9 years agostgmerge enhancements
Stuart Buchanan [Sun, 22 Feb 2015 21:37:18 +0000 (21:37 +0000)]
stgmerge enhancements

Various stgmerge enhancements to make it functional:
- Now runs against an entire tile directory, reading each stg file
- optionally optimizes the mesh (untested)
- outputs to a second directory
- control over the size of merged meshes

9 years agoMerge commit 'refs/merge-requests/1591' of https://gitorious.org/fg/flightgear into...
Torsten Dreyer [Sun, 22 Feb 2015 20:25:08 +0000 (21:25 +0100)]
Merge commit 'refs/merge-requests/1591' of https://gitorious.org/fg/flightgear into merge-requests/1591

9 years agopackage system: de-hardcode default catalog id and url
Torsten Dreyer [Tue, 17 Feb 2015 11:41:18 +0000 (12:41 +0100)]
package system: de-hardcode default catalog id and url

make default catalog id and url configurable through properties
on startup. Provide defaults to preserve current functionality.

/sim/package-system/default-catalog/id
/sim/package-system/default-catalog/url

9 years agoOoops...
Torsten Dreyer [Tue, 17 Feb 2015 11:09:22 +0000 (12:09 +0100)]
Ooops...

9 years agoInitial work for a PKG http service
Torsten Dreyer [Mon, 16 Feb 2015 21:58:17 +0000 (22:58 +0100)]
Initial work for a PKG http service

9 years agoJSBSim syncing. The changelog is:
bcoconni [Sun, 15 Feb 2015 10:37:13 +0000 (11:37 +0100)]
JSBSim syncing. The changelog is:
* The Pitot angle can now be tweaked with the <pitot_angle> tag in the <metrics> block.
* The refuel rate is now configurable with the <refuel-rate> tag in the <propulsion> block.
* Fixed C++11 compliance. JSBSim can now be compiled with a C++11 compiler.
* Avoid a spurious mass report to be issued when resetting.
* Fixed the moments computation. Previously they were computed with the previous time step CG position.
* Fixed a bug where the CG update was delayed to the next time step when point masses location were modified via the FCS.

9 years agoPropertyBrowser: Add a JSON link and the path
Torsten Dreyer [Fri, 13 Feb 2015 10:42:45 +0000 (11:42 +0100)]
PropertyBrowser: Add a JSON link and the path

9 years agoCode to stop loading of invalid flightplans
portree_kid [Thu, 12 Feb 2015 21:09:45 +0000 (22:09 +0100)]
Code to stop loading of invalid flightplans

9 years agoClear GroundLightManager on exit to avoid segfault
Rebecca N. Palmer [Thu, 12 Feb 2015 16:39:28 +0000 (16:39 +0000)]
Clear GroundLightManager on exit to avoid segfault

While mostly harmless since you're exiting anyway, it's an annoying
distraction when the real problem is "unexpected exit" (e.g.
https://bugs.debian.org/763285 ), and blocks testing with LeakSanitizer

9 years agoAdjust warning flags for Clang.
James Turner [Thu, 12 Feb 2015 16:24:27 +0000 (16:24 +0000)]
Adjust warning flags for Clang.

9 years agoUpdates for v2 code-signing
James Turner [Thu, 12 Feb 2015 11:43:37 +0000 (11:43 +0000)]
Updates for v2 code-signing

- Assume modified OSG plugin naming scheme, requires patched OSG
from our Git, with .dylib suffix and no version number in the dir
name.

- deeply sign the entire bundle, once it’s complete

9 years agoFix encoding / C++11 compliance
James Turner [Wed, 11 Feb 2015 16:44:05 +0000 (16:44 +0000)]
Fix encoding / C++11 compliance

- convert text encoding to UTF-8
- C++11 requires a space between literal and identifier

9 years agoForce libc++ explicitly on Clang
James Turner [Wed, 11 Feb 2015 15:48:33 +0000 (15:48 +0000)]
Force libc++ explicitly on Clang

9 years agohttpd/json: send as correct typ for bools and numbers
Torsten Dreyer [Wed, 11 Feb 2015 10:34:16 +0000 (11:34 +0100)]
httpd/json: send as correct typ for bools and numbers

9 years agoAdd formatted KDI572/574 properties
Torsten Dreyer [Wed, 11 Feb 2015 07:33:45 +0000 (08:33 +0100)]
Add formatted KDI572/574 properties

Syd Adams:
I've added an update to dme.cxx /dme.hxx.
It adds a formatted KDI572-574/nm , min and kt string properties meant
for text animations for these instruments.Existing instruments will funtion
as usual, no breaks. The purpose here is to eliminate yet another nasal
workaround which usually needs to repeat some of what the code already does.
The 3 properties are empty when the dme is off (no need to check for power),
dashes when powered up but no source , out of range ,etc.
The are formatted to the KDI-572/573/574 limits ...
0-99.9/100-389 for distance to station,
0-99 minutes for time to station,
groundspeed 0-999 kt.

9 years agoBetter CMake policy detection
James Turner [Tue, 10 Feb 2015 17:12:01 +0000 (17:12 +0000)]
Better CMake policy detection

- thanks to Rebecca Palmer for suggesting this!

9 years agoCmake policies conditional on Cmake version.
James Turner [Mon, 9 Feb 2015 16:42:58 +0000 (16:42 +0000)]
Cmake policies conditional on Cmake version.

9 years agoForce 10.7 deployment version on Mac.
James Turner [Mon, 9 Feb 2015 15:11:28 +0000 (15:11 +0000)]
Force 10.7 deployment version on Mac.

9 years agoJSBSim: populate fuel tank cg
Torsten Dreyer [Wed, 4 Feb 2015 11:44:20 +0000 (12:44 +0100)]
JSBSim: populate fuel tank cg

9 years agoFix typo, thanks to Markus Wanner
Rebecca N. Palmer [Sun, 18 Jan 2015 22:23:49 +0000 (22:23 +0000)]
Fix typo, thanks to Markus Wanner

9 years agoFix hang in Nasal->C++->Nasal calls
Rebecca N. Palmer [Sun, 18 Jan 2015 22:23:21 +0000 (22:23 +0000)]
Fix hang in Nasal->C++->Nasal calls

https://bugs.debian.org/750939
http://sourceforge.net/p/flightgear/mailman/message/32969200/

9 years agoInitial checkin of stgmerge
Stuart Buchanan [Sun, 18 Jan 2015 20:10:05 +0000 (20:10 +0000)]
Initial checkin of stgmerge

9 years agoClean up some trivial warnings
Stuart Buchanan [Sun, 18 Jan 2015 19:49:14 +0000 (19:49 +0000)]
Clean up some trivial warnings

9 years agoBump version to 3.5.0
Torsten Dreyer [Sat, 17 Jan 2015 18:33:07 +0000 (19:33 +0100)]
Bump version to 3.5.0

9 years agoBump version number to 3.4.0
FlightGear Flight Simulator [Sat, 17 Jan 2015 18:27:03 +0000 (19:27 +0100)]
Bump version number to 3.4.0

9 years agoFixed a bug that made FG crash when repositionning the aircraft or resetting the...
bcoconni [Sat, 17 Jan 2015 13:58:48 +0000 (14:58 +0100)]
Fixed a bug that made FG crash when repositionning the aircraft or resetting the simulation. Thanks to Rebecca Palmer for the bug report and the bug patch.

9 years agoroute-path: separate turn entry and exit parts.
James Turner [Wed, 14 Jan 2015 22:14:12 +0000 (22:14 +0000)]
route-path: separate turn entry and exit parts.

Fixes appearance of runway legs with off-centerline previous
and next points, since we can generate different curves for each
end of the runway.

9 years agoFix wrong ATIS for negative temperatures
Torsten Dreyer [Mon, 12 Jan 2015 15:46:24 +0000 (16:46 +0100)]
Fix wrong ATIS for negative temperatures

9 years agoRoute path turn helpers.
James Turner [Sun, 11 Jan 2015 13:15:24 +0000 (13:15 +0000)]
Route path turn helpers.

Make the code more readable with some named helper functions.

9 years agoRemove a warning, let Nasal itself warn if needed.
James Turner [Sat, 10 Jan 2015 19:35:50 +0000 (19:35 +0000)]
Remove a warning, let Nasal itself warn if needed.

9 years agoFix broken angular conversion in RNAV runway controller.
James Turner [Sat, 10 Jan 2015 19:35:34 +0000 (19:35 +0000)]
Fix broken angular conversion in RNAV runway controller.

9 years agoRNAV: use runway departure end for previous wpt.
James Turner [Sat, 10 Jan 2015 19:35:11 +0000 (19:35 +0000)]
RNAV: use runway departure end for previous wpt.

Should fix leg computation following a runway waypt.

9 years agoFix GPS intercept controller:
James Turner [Sat, 10 Jan 2015 17:56:49 +0000 (17:56 +0000)]
Fix GPS intercept controller:

- handle bad intersection geometry gracefully (end controller)
- fix termination condition
- always use target track to compute position.

9 years agoFix spelling mistake.
James Turner [Sat, 10 Jan 2015 17:54:48 +0000 (17:54 +0000)]
Fix spelling mistake.

9 years agoLauncher: select season.
James Turner [Sat, 10 Jan 2015 14:57:59 +0000 (14:57 +0000)]
Launcher: select season.

9 years agoAsk before creating the custom aircraft dir.
James Turner [Sat, 10 Jan 2015 14:18:44 +0000 (14:18 +0000)]
Ask before creating the custom aircraft dir.

9 years agoRestore aircraft-manager location back to FG_HOME
James Turner [Sat, 10 Jan 2015 14:18:32 +0000 (14:18 +0000)]
Restore aircraft-manager location back to FG_HOME

9 years ago- Make Qt check guarded by a CMake option
James Turner [Sat, 10 Jan 2015 14:05:23 +0000 (14:05 +0000)]
- Make Qt check guarded by a CMake option
- Only init QApplication if showing the launcher.

9 years agoRoute-path bug fixes.
James Turner [Thu, 8 Jan 2015 19:46:04 +0000 (19:46 +0000)]
Route-path bug fixes.

- explicit aircraft performance categories for turn radius
- allow overflight leg course behaviour to be selected

9 years agoLauncher: hook up MSAA checkbox.
James Turner [Wed, 7 Jan 2015 11:30:44 +0000 (11:30 +0000)]
Launcher: hook up MSAA checkbox.

9 years agoOnly set AUTOMOC for fglauncher target.
James Turner [Wed, 7 Jan 2015 09:38:02 +0000 (09:38 +0000)]
Only set AUTOMOC for fglauncher target.

(Avoids pointless noise for all other targets)

9 years agoFix native menubar in Mac builds with Qt
James Turner [Wed, 7 Jan 2015 09:19:04 +0000 (09:19 +0000)]
Fix native menubar in Mac builds with Qt

- where we don’t use the launcher, we must pass tell OSG we
  want to pose as standalone when setting the window traits.

9 years agoMac nightly can use new launcher.
James Turner [Tue, 6 Jan 2015 21:59:06 +0000 (21:59 +0000)]
Mac nightly can use new launcher.

9 years agoHook up parking position in launcher.
James Turner [Tue, 6 Jan 2015 21:12:19 +0000 (21:12 +0000)]
Hook up parking position in launcher.

9 years agoLinux fixes for launcher code.
James Turner [Tue, 6 Jan 2015 20:36:05 +0000 (20:36 +0000)]
Linux fixes for launcher code.

9 years agoIn-app launcher for Mac, based on Qt5.
James Turner [Fri, 26 Dec 2014 12:20:51 +0000 (15:20 +0300)]
In-app launcher for Mac, based on Qt5.

The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.

Will be merged for 3.4, hopefully with no impact on other
platforms.

9 years agoGuard against saved bad terrasync path.
James Turner [Sun, 4 Jan 2015 17:50:10 +0000 (17:50 +0000)]
Guard against saved bad terrasync path.

- warn when the terrasync path is not writeable, with a message box.

9 years agoFix turn entry path position computation.
James Turner [Sat, 3 Jan 2015 00:29:07 +0000 (00:29 +0000)]
Fix turn entry path position computation.

9 years agoWaypoint controller fixes
James Turner [Fri, 2 Jan 2015 23:58:29 +0000 (23:58 +0000)]
Waypoint controller fixes

- use a low pass filter on FPM value for ConstHdgToAlt
- better position calculation for DME/radial/VOR intercepts

9 years agoFix two route path issues found by Hyde
James Turner [Fri, 2 Jan 2015 09:47:54 +0000 (09:47 +0000)]
Fix two route path issues found by Hyde

- course computation from a runway was wrong (used threshold pos)
- negative distance along path was using wrong distance to offset

9 years agoRevert "Altimeter: fix output format for hPa/InHg settings"
Clément de l'Hamaide [Tue, 30 Dec 2014 16:19:19 +0000 (17:19 +0100)]
Revert "Altimeter: fix output format for hPa/InHg settings"

Replaced by some line of Nasal, that way we don't touch the internal precision of the altimeter

This reverts commit 84a26de9ae9ade8629dee53cac8b9357f0930690.

9 years agoAltimeter: fix output format for hPa/InHg settings
Clément de l'Hamaide [Tue, 30 Dec 2014 15:04:33 +0000 (16:04 +0100)]
Altimeter: fix output format for hPa/InHg settings

Usually, in a real cockpit, altimeter shows hPa setting as an integer number and InHg setting is limited to 2 decimals

In aviation we don't need higher numeric precision

9 years agoPartial fix for runway leg courses.
James Turner [Thu, 25 Dec 2014 18:52:54 +0000 (21:52 +0300)]
Partial fix for runway leg courses.

Don’t assume runway leg course matches the runway heading.
Full fix means generating separate entry/exit turns for runways.

9 years agoFix distance-along-path computation
James Turner [Thu, 25 Dec 2014 18:52:13 +0000 (21:52 +0300)]
Fix distance-along-path computation

(Thanks to Hyde Yamakawa for pointing this one)

9 years agoWhen the turn angle is large, don’t fly-by.
James Turner [Mon, 22 Dec 2014 18:47:21 +0000 (21:47 +0300)]
When the turn angle is large, don’t fly-by.

This avoids the tan() term in the fly-by computation
causing huge turn cuts which will fail to sequence.
Convert such turns to fly-over.

9 years agoRoutePath mag-var and point-on-path fixes
James Turner [Sun, 21 Dec 2014 16:53:16 +0000 (19:53 +0300)]
RoutePath mag-var and point-on-path fixes

9 years agoExpose waypoint heading/course to Nasal.
James Turner [Sun, 21 Dec 2014 06:53:32 +0000 (09:53 +0300)]
Expose waypoint heading/course to Nasal.

9 years agoFix runway path appearance.
James Turner [Sun, 21 Dec 2014 06:21:31 +0000 (09:21 +0300)]
Fix runway path appearance.

9 years agoRoute path
James Turner [Sat, 20 Dec 2014 14:19:00 +0000 (15:19 +0100)]
Route path
 - better point along path computation
 - fix path distance for turns
 - detect and skip duplicated waypoints

(and provision to skip based upon impossible turn
geometry soon)

9 years agoRoute-path:
James Turner [Fri, 19 Dec 2014 17:01:27 +0000 (17:01 +0000)]
Route-path:
* better overflight pathing based on next wpt type
* tolerate procedures with bad intersections (eg KSFO OFFSH8)

9 years agoFix route-path bugs:
James Turner [Wed, 17 Dec 2014 08:57:28 +0000 (08:57 +0000)]
Fix route-path bugs:

 - accurate fly-over / fly-by computations
 - parse additional LevelD XML elements
 - path vector contains curves for turns

Remove dead code.

9 years agoJSBSim: Renamed the location properties for external forces to include the unit.
Anders Gidenstam [Thu, 18 Dec 2014 10:02:41 +0000 (11:02 +0100)]
JSBSim: Renamed the location properties for external forces to include the unit.

9 years agoAllow easing of setting the time-offset
Torsten Dreyer [Wed, 17 Dec 2014 08:45:59 +0000 (09:45 +0100)]
Allow easing of setting the time-offset

Configurable with properties:

/sim/time/warp-easing == false ? jump to new time offset (orig. behaviour)
/sim/time/warp-easing == true ? use easing parameter to adjust warp

/sim/time/warp-easing-duration-secs: time in seconds to reach the new value
/sim/time/warp-easing-method: easing method to apply. default: swing

9 years agoWin-nightly: add firewall exception by elgaton
Clément de l'Hamaide [Tue, 16 Dec 2014 18:47:38 +0000 (19:47 +0100)]
Win-nightly: add firewall exception by elgaton

9 years agoSynced JSBSim. Adds the following new features:
bcoconni [Mon, 15 Dec 2014 19:12:18 +0000 (20:12 +0100)]
Synced JSBSim. Adds the following new features:
- Ability to modify the location of external forces via the property tree
- Ability to specify manually the inertia matrix of "point masses"
- Improvements of the water injection feature in the turbine code

9 years agodowngrade log-level for newnavradio messages
Torsten Dreyer [Thu, 11 Dec 2014 20:37:37 +0000 (21:37 +0100)]
downgrade log-level for newnavradio messages

9 years agoShut off spoken atis if radio's power button is off
Torsten Dreyer [Thu, 11 Dec 2014 10:20:34 +0000 (11:20 +0100)]
Shut off spoken atis if radio's power button is off

9 years agoFix flight-plan course and distance computations.
James Turner [Mon, 8 Dec 2014 17:56:15 +0000 (17:56 +0000)]
Fix flight-plan course and distance computations.

Always use the RoutePath system for course and distance computations
in the flight plan, so that dynamic segments are handled correctly.

9 years agoLevel-D procedures: parse Flytype element
James Turner [Sun, 7 Dec 2014 12:34:50 +0000 (12:34 +0000)]
Level-D procedures: parse Flytype element

With this, the fly-by / fly-over info from the procedures is exposed
correctly.

9 years agofind waypoints in the flight plan.
James Turner [Fri, 28 Nov 2014 22:00:38 +0000 (22:00 +0000)]
find waypoints in the flight plan.

9 years agoFix #1606, bad ATIS for Japanese locale
Torsten Dreyer [Thu, 4 Dec 2014 08:18:41 +0000 (09:18 +0100)]
Fix #1606, bad ATIS for Japanese locale

Selecting a language for a nonexisting translation did not load the sys and
atc messages.  Better fall back to default (en) locale.

9 years agoFix hangs while scenery-loading
Torsten Dreyer [Wed, 3 Dec 2014 09:29:30 +0000 (10:29 +0100)]
Fix hangs while scenery-loading

don't start the traffic manager before the FDM is initialized
The FDM needs the scenery loaded and will wait for all PagedLOD Nodes
to appear if they are close (less than 1000m) to our initial position.
That's required for scenery models but not for AI traffic.

9 years agoDrop ground-nets cache on scenery path change.
James Turner [Thu, 13 Nov 2014 21:02:58 +0000 (21:02 +0000)]
Drop ground-nets cache on scenery path change.

Unfortunately we can’t drop loaded ones, since the in-memory structures don’t have ref-counting, and we don’t
know what AI plans may be referencing them.

9 years agoSave a memory allocation each time a property node is wrapped in Nasal. Instead use...
bcoconni [Sun, 23 Nov 2014 13:53:54 +0000 (14:53 +0100)]
Save a memory allocation each time a property node is wrapped in Nasal. Instead use a direct access to the reference counter and explicitely delete the node if the ref counter is decremented to zero during the ghost destruction.

9 years agoAdding some debugs for Thorsten Renk’s issue.
James Turner [Wed, 19 Nov 2014 22:35:35 +0000 (22:35 +0000)]
Adding some debugs for Thorsten Renk’s issue.

Will revert this patch in the future.

9 years agoAdding log message for an edge case.
James Turner [Wed, 19 Nov 2014 22:34:34 +0000 (22:34 +0000)]
Adding log message for an edge case.

9 years agoOptionally use SCREEN_SIZE_PIXEL for LOD
Torsten Dreyer [Wed, 19 Nov 2014 16:26:58 +0000 (17:26 +0100)]
Optionally use SCREEN_SIZE_PIXEL for LOD

This patch enables AIModels to use the size on the screen for LOD instead
of distance from eye point.
With /sim/rendering/static-lod/ai-range-mode-pixel set to true
/sim/rendering/static-lod/ai-detailed now contains the minimum size of the
model on the screen to be displayed. Values of 10-50 seem to make some sense.

9 years agoRe-sync JSBSim with FlightGear including James Turner's fix for the call to the funct...
bcoconni [Tue, 18 Nov 2014 18:54:52 +0000 (19:54 +0100)]
Re-sync JSBSim with FlightGear including James Turner's fix for the call to the function to_string that failed to compile on Mac and MSVC.

9 years agoUpdate /sim/startup/fullscreen prop at runtime, that way we know the current state...
Clément de l'Hamaide [Tue, 18 Nov 2014 16:14:11 +0000 (17:14 +0100)]
Update /sim/startup/fullscreen prop at runtime, that way we know the current state of the window

9 years agoTweak scenery-loaded logic
James Turner [Sat, 15 Nov 2014 16:29:30 +0000 (16:29 +0000)]
Tweak scenery-loaded logic

Make first-start (not a reset / re-init) behaviour more explicit.

9 years agoJSBSim sync
bcoconni [Sat, 15 Nov 2014 10:39:49 +0000 (11:39 +0100)]
JSBSim sync

9 years agoTypo fix, from:
James Turner [Thu, 13 Nov 2014 15:16:28 +0000 (15:16 +0000)]
Typo fix, from:

http://svnweb.freebsd.org/ports/head/games/flightgear/files/patch-3rdparty-iaxclient-lib-CMakeLists.txt?revision=372111&view=markup

9 years agoFreeBSD fixes.
James Turner [Thu, 13 Nov 2014 15:15:52 +0000 (15:15 +0000)]
FreeBSD fixes.

From:
http://svnweb.freebsd.org/ports/head/games/flightgear/files/

9 years agoMove all tile-manager init to reinit path.
James Turner [Wed, 22 Oct 2014 20:05:01 +0000 (21:05 +0100)]
Move all tile-manager init to reinit path.

- improves changing scenery paths at runtime.

9 years agoRemove obsolete #define
James Turner [Wed, 22 Oct 2014 20:04:25 +0000 (21:04 +0100)]
Remove obsolete #define

9 years agohttpd: some code cleanup for JsonUriHandler.
Torsten Dreyer [Tue, 11 Nov 2014 07:59:41 +0000 (08:59 +0100)]
httpd: some code cleanup for JsonUriHandler.

no functional change

9 years agoAllow property set on the /json/ uri handler
Torsten Dreyer [Mon, 10 Nov 2014 13:23:12 +0000 (14:23 +0100)]
Allow property set on the /json/ uri handler

9 years agoAllow input systems to be disabled
Torsten Dreyer [Sat, 11 Oct 2014 18:23:13 +0000 (20:23 +0200)]
Allow input systems to be disabled

To avoid trouble when running multiple instances on one machine, disable
e.g. joystick input for second instance by
--prop:bool:/sim/input/no-joystick-input=true

Also allowed:
--prop:bool:/sim/input/no-event-input=true
--prop:bool:/sim/input/no-mouse-input=true
--prop:bool:/sim/input/no-keyboard-input=true

9 years agohttpd: upgrade to latest mongoose 5.5
Torsten Dreyer [Thu, 6 Nov 2014 21:21:22 +0000 (22:21 +0100)]
httpd: upgrade to latest mongoose 5.5

9 years agoFix #1579: Handle special characters in html property browser
Torsten Dreyer [Tue, 4 Nov 2014 21:21:44 +0000 (22:21 +0100)]
Fix #1579: Handle special characters in html property browser

9 years agoPrecipitation updates from ThorstenR
Torsten Dreyer [Tue, 21 Oct 2014 08:44:55 +0000 (10:44 +0200)]
Precipitation updates from ThorstenR

required SimGear commit 75271c44a82ae0fb1ff9c91e93a12fa8b10099fd

Since the consensus seems to be that the precipitation clipping issue is with the panel code, attached is  my proposed update for the precipitation system in SG and FG

* without corresponding control structures in FGData it falls back to default, except I have fixed an inconsistency in freezing behavior - previously rain changed suddenly to snow when the temperature dropped below zero, but the reverse transition was dragged out and gave odd visible motion with the wind as snow gradually changed back to rain with the particle speed not well defined. Now both transitions are sudden. And I see no more particles flow against the wind

* with

 <!-- definitions for the detailed precipitation manager -->
 <precipitation-control>
     <rain-droplet-size type="float" userarchive="n">0.015</rain-droplet-size>
     <snow-flake-size type="float" userarchive="n">0.03</snow-flake-size>
     <detailed-precipitation type="bool" userarchive="n">false</detailed-precipitation>
     <illumination type="float" userarchive="n">1.0</illumination>
     <clip-distance type="float" userarchive="n">5.0</clip-distance>
  </precipitation-control>

added to Environment/environment.xml, the new system allows to switch more detailed management on. This provides

* explicit setting of rain droplet size and snow flake size by the weather system

* automatic sqrt(r) scaling of the vertical speed of raindrops

* automatic transition to snow when freezing for small droplets but hail for large droplet sizes (looks like snow, but has different particle dynamics)

* an illumination scaling factor to dim the precipitating based on the light we have in the scene (I still need to devise a property rule to set this automatically)

The clip distance is also exposed now and considered at startup of the system - might be useful for e.g. airships when the gas bag provides rain cover (?)   or to be simply off for open airplanes

9 years agoFixed the initial conditions settings where the altitude passed by FG to JSBSim is...
bcoconni [Sun, 19 Oct 2014 17:05:30 +0000 (19:05 +0200)]
Fixed the initial conditions settings where the altitude passed by FG to JSBSim is geodetic instead of geocentric.

9 years agohttpd: expose airport id to geojson properties
Torsten Dreyer [Thu, 16 Oct 2014 11:09:43 +0000 (13:09 +0200)]
httpd: expose airport id to geojson properties

9 years agoreplaced the outdated bash completion script with a completely rewritten version
Raphael Dümig [Wed, 8 Oct 2014 12:36:39 +0000 (14:36 +0200)]
replaced the outdated bash completion script with a completely rewritten version

The new script is documented in the flightgear wiki (see "bash completion") and adds functionality such as advanced detection of FG_ROOT and other paths, and many completions not available before.
The list of possible command line options is automatically generated from "fgfs --help --verbose".

The author of the original script (mfranz) has agreed to replace this script.

9 years agoadd command line option --expire to fgelev, overriding the hardcoded
radi [Mon, 6 Oct 2014 09:23:27 +0000 (11:23 +0200)]
add command line option --expire to fgelev, overriding the hardcoded
default of 10 if given.

This improves performance _a lot_ if massively probing across
a bucket border as it prevents constant terrain unloading/reloading.

9 years agoFix updating ADF ident if getting in range after being out of range.
Thomas Geymayer [Fri, 3 Oct 2014 10:40:07 +0000 (12:40 +0200)]
Fix updating ADF ident if getting in range after being out of range.

9 years agoRemove --jpg-httpd option
Torsten Dreyer [Thu, 2 Oct 2014 09:33:45 +0000 (11:33 +0200)]
Remove --jpg-httpd option

the original implementation of a screenshot server is now
replaced by the mongoose httpd /screenshot URI which provides
more features.

9 years agohttpd: fix mjpeg encoding
Torsten Dreyer [Thu, 2 Oct 2014 09:13:12 +0000 (11:13 +0200)]
httpd: fix mjpeg encoding