James Turner
072adde9a6
Remove all references to an alpha-buffer
...
- Current 3D clouds rendering does not use the alpha buffer,
so don't request one at launch, since it consumes valuable GPU memory.
- Remove any references to alpha testing or alpha func in the renderer setup.
2014-02-24 19:43:21 +00:00
James Turner
a6219dab76
use an osg::Switch to control scenery rendering
...
- restores functionality of 'draw-otw' property
- adds new /sim/rendering/draw-mask branch to allow control
over rendering each branch inside FGScenery
2014-02-24 19:43:21 +00:00
James Turner
874a923096
Remove legacy reference to draw-otw
2014-02-24 19:43:20 +00:00
James Turner
d035fdf3a9
Optimise NavCache airport query
...
- makes initial showing of 'Select Airport' dialog faster
2014-02-24 19:43:20 +00:00
James Turner
876e81edbd
AIModels use PagedLOD
...
- allows AIModels to be unloaded by the Pager
- move AI models into the 'models' sub-branch of FGScenery
2014-02-24 19:43:20 +00:00
James Turner
33b7e3e32e
Fix an (unlikely) startup crash
...
Encountered this by accidentally clicking during startup
2014-02-24 11:41:04 +00:00
James Turner
130f581b18
Tile-manager can request VBOs.
...
Monitor /sim/rendering/use-vbos and pass the value into
our SGReaderWriterOptions.
2014-02-21 08:52:07 -08:00
James Turner
b76d255d82
Remove pre-OSG 'enable/disable-textures' option.
...
These have been non-functional for a long time, remove
to avoid further confusion.
2014-02-21 07:57:35 -08:00
James Turner
b0dcb657e7
Fix for bug 1304 - crash loading XML route
...
If the XML is malformed (missing <route> section), don't crash.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1304
2014-02-21 07:57:35 -08:00
Torsten Dreyer
16869d0362
publish the metar date/time to metarproperties
2014-02-21 16:23:10 +01:00
James Turner
0473607731
Tweak tile-manager SGBucket API
...
* FG builds with 'NO_DEPRECATED_API' in SGBucket
2014-02-19 14:02:09 -08:00
James Turner
39d1b6db38
Re-factor the FPE handling code
...
* make --enable-fpe work on Linux and MSVC
* standardise the code paths for different platforms
* add an argument finding helper to Options
(This is a basic cleanup, contributions from people with
more experience in this area are welcome)
2014-02-19 13:53:52 -08:00
James Turner
230e157190
Raise required OSG version to 3.2.0
2014-02-19 11:00:14 -08:00
James Turner
34ed79e5f8
getprop/setprop allows integer indices.
...
As suggested by a long-standing enhancement idea,
extend getprop/setprop to accept multiple args,
including integer arguments. This removes the need
for string concatenation (and hence, allocation)
on the Nasal side.
Patch by Nicholas 'Philosopher' Scheel
2014-02-18 20:07:29 -08:00
James Turner
1c286e4932
Remove some CMake search paths
...
As the comments says, none of these should be needed, or
they are added by CMake automatically.
2014-02-14 20:45:19 +00:00
Christian Schmitt
9d995907db
Support helipad names in the --runway startup option
...
also give better user feedback if runway/helipad ID is unknown
2014-02-14 20:05:11 +01:00
James Turner
7bc7197f6a
Use Cmake to generate app-bundle on Mac
...
- build the .plist using CMake features
- update the nightly Mac packaging script for the new layout
2014-02-14 18:58:36 +00:00
James Turner
826ea8139f
Re-apply the Clang/C+11 fix for JSBSim
...
Hopefully an equivalent change will occur upstream before the next
JSBsim sync.
2014-02-14 17:42:50 +00:00
James Turner
239a000763
Use new SGBucket API in tile-manager
...
- check for invalid tiles / buckets, which occurs at the poles
- use .sibling() method to offset
- no longer need to store view lat/lon in the manager.
2014-02-13 18:52:52 +00:00
Thomas Geymayer
e600cd3d00
Autopilot: add interface properties and property-root.
...
- Support interface properties as with JSBSim for easy reuse
and parametrization of autopilot components.
- Add property-root property to allow changing property root
for all relative paths. This allows easy use of multiple
instances of the same autopilot component at the same time
by specifiying different property root nodes.
2014-02-09 18:51:09 +01:00
Thomas Geymayer
4ae8cd99a1
XMLAutopilot: cleanup and remove code already available in SGSubsystemGroup.
2014-02-09 18:50:55 +01:00
Erik Hofman
9097f8aac3
Set JSBSim terrain handling code default to ON
2014-02-09 14:10:42 +01:00
Thomas Geymayer
3b23892ccf
Canvas: also apply matrix of element to getTransformedBounds.
...
Part of the fix for #1333 .
2014-02-08 00:28:24 +01:00
Christian Schmitt
7e8ee5a3a8
fix another crash at the poles
2014-02-07 23:29:06 +01:00
Christian Schmitt
6cadc2cf40
Simplify some SGGeod-related calculations
2014-02-05 23:07:43 +01:00
Christian Schmitt
ae8ddd04d9
[AIModel] Fix a crash when starting at the poles and reduce property reading
2014-02-05 17:51:28 +01:00
Curtis L. Olson
a92c697989
I'm doing battle with git ... this should have already been committed with an
...
explanatory commit log message. If not ... sorry ... grrr ... git.
2014-02-05 10:15:36 -06:00
Curtis L. Olson
d306e94c1c
Add an 'overrideRedirect' flag to the window configuration section. For
...
multi-headed Gnome based linux systems, this provides an extra hint that we
really wish to open up our full screen window spanning all physical displays.
This works around a kink in the gnome window manager where it tries to "lie"
to applications about the full screen size assuming most applications don't
wish their windows to span multiple physical displays.
2014-02-05 10:04:18 -06:00
James Turner
27c58ddb21
Tacan: avoid a 'long-range' wgs84_inverse
...
- Only check mobile distance at all, if the mobile is valid
2014-02-04 14:54:39 +00:00
James Turner
34433c1fa1
GPS: fix bad init when far from any airport
2014-02-04 14:53:42 +00:00
Clément de l'Hamaide
d9e8abcc99
FGCom: change default silence threshold
2014-02-04 12:18:50 +01:00
Clement de l'Hamaide
c92c482f22
Add inforbefore.txt providing instructions before installation for Windows
2014-02-04 02:45:01 +01:00
Christian Schmitt
a0184ac80c
MapWidget: silence compiler warning
2014-02-02 16:47:25 +01:00
Clément de l'Hamaide
43b8d157ce
Send transponder mode over network
2014-01-29 21:04:58 +01:00
James Turner
29bc895f0b
Fix fgelev linkage on Mac.
2014-01-29 16:39:10 +00:00
Erik Hofman
73a519a95c
Make the JSBSim terrain handling code compile time configurable by calling cmake -DJSBSIM_TERRAIN=1
2014-01-29 13:50:06 +01:00
Erik Hofman
7bdd1d617d
Integrate the latest terrain handling code
2014-01-29 13:45:19 +01:00
James Turner
b7a9aee796
FGViewer fixes
...
- ensure active material are cached
- clear osgDB object cache on exit explicitly
2014-01-29 10:10:53 +00:00
Thomas Geymayer
61da998e02
Expose SGPath::standardLocation to Nasal.
2014-01-28 01:08:06 +01:00
James Turner
4df9c61d2a
Check for and warn about old nVidia drivers.
...
(Had a bug report with someone using 189 drivers on Windows!)
2014-01-27 17:27:12 +00:00
James Turner
1a372d9366
Update image-server logic.
...
- no dependency on libJpeg or Simgear
- no duplicate rendering of the scene (uses a draw callback)
- supports other image types, eg PNG
- threaded so doesn't block the main loop ever
2014-01-27 09:08:34 +00:00
James Turner
9f3a2ddbdc
Change default Windows terrasync path
...
Now use (new) SGPath::documents helper to download
to a user-visible location: Document\FlightGear.
(Linux & Mac behaviour is unchanged)
2014-01-26 16:07:53 +00:00
Clément de l'Hamaide
3254f54f9e
FGCom: add silence threshold setting
...
Require commit 1396848dcf31d181ab740c8eb728cff02f06fd3d from fgdata
2014-01-26 16:38:48 +01:00
Rebecca Palmer
6adb8b22df
Fix compilation with SYSTEM_SQLITE, from Markus Wanner
...
Fix error "no known conversion for argument 1 from ‘sqlite3_int64
{aka long long int}’ to ‘PositionedID& {aka long int&}’"
(Both those types are int64, but that evidently isn't enough)
2014-01-26 10:34:49 +00:00
James Turner
c8b1655edc
Report bad command-line args via message box.
...
This makes the behaviour when FGRun (or other GUI launchers)
send bad options much more explicable. Non Windows/Mac systems
get an SG_ALERT on the console as before.
2014-01-25 10:36:00 +00:00
James Turner
64cbc06003
clang / libc++ fixes for JSBSim
...
(needs to be upstreamed too)
2014-01-25 10:34:19 +00:00
Clément de l'Hamaide
da05f403b1
Use GSM and Speex libraries from system if they are installed by Saikrishna Arcot
2014-01-23 17:46:49 +01:00
James Turner
2a1e33863a
Search all resources when adding models at runtime.
...
geo.put-model / add-model mechanism now supports resolving paths
using all the defined locations, including aircraft dirs and
additional data dirs,
2014-01-23 15:02:33 +00:00
James Turner
c6541e9c8f
Remove some debug log calls.
...
All places which continuously log messages (either every frame or at
least every second) tending to swamp other log output.
2014-01-23 13:49:58 +00:00
James Turner
45d67406a4
CrashRpt tweaks, checking.
...
- show a message box if setup fails
- log setup status
2014-01-22 22:33:30 +00:00