Hi,

the final GUI bits for a new feature are now in fgdata - the last
feature addition for the 2.4 release from my part... You can
download/update scenery directly from FlightGear now (main menu:
Environment => Scenery). Credit for the idea goes to James - bugs are
mine ;-).

It provides built-in terrasync support - with some advantages:

* Configuration requires a scenery target directory only (your
"terrasync" directory) and a checkbox to enable. For now, you'll also
need to provide the terrasync directory as part of your --fg-scenery
paths (otherwise you won't see downloaded scenery). Maybe we can add the
directory to the search path internally some time, simplifying things
even more. Should help anyway (especially new users) in obtaining world
scenery. Not quite as simple as loading scenery with Google Earth yet -
but closer...
Before someone asks: the scenery server address is displayed in the GUI,
but editing is disabled. Is there any reason (right now), why users
would want to change? (You could still change using preferences.xml /
property browser though).

* You can enable/disable scenery download any time using the menu. When
you notice mid-flight that scenery is missing, just enable the download
checkbox and wait a bit (depending on your connection speed ;-) ).

* There is also a (still experimental) option to refresh scenery tiles
once their update is complete. You could "warp" into a new region,
initially see ocean only (default replacement for missing scenery) and
eventually see the ocean tiles being replaced by actual scenery. That's
still experimental though, the update logic requires improvement. Looks
weird when scenery tiles are removed when the a/c is just parked/rolling
on them (old scenery disappears for a second before the "fresh" one
reappears). Also bad on final approach... And the a/c position and
altitude of clouds may need to be adapted when scenery altitude has
changed - which is a problem when ocean (sea level) is replaced by
actual scenery (mountains...). Usually ok to enable the feature
mid-flight. Otherwise, there is also a manual "refresh" button, so you
could choose yourself at what time to replace ocean/missing scenery.

The feature reuses the terrasync sources and relies on a subversion
client. Either using built-in subversion (when "libsvn" is installed,
which is recommended). Otherwise, fgfs tries calling an external utility
("svn") for downloads. All the same as with original terrasync.
The built-in svn support is enabled for automake right now (use
"--with_libsvn=no" to disable). It's off by default for cmake builds (we
could change that, use "ENABLE_LIBSVN" to enable for now). The cmake
build isn't really well tested yet - except that Hudson seems happy for
all targets. And as mentioned, I'd need help with cmake if it wasn't
working properly. And it'd also be good to get Hudson to build the
Windows/Mac binaries with built-in svn support (seems to do that for
Linux/automake already).

As usual, report any (new) issues. If you don't like the feature, keep
the checkbox disabled and the whole thing shouldn't bother you. You can
keep using manual downloads or the separate terrasync utility as before
(which lives on), of course.

cheers,
Thorsten

PS: Yes, a complete update (sg+fg+fgdata) is required for things to
work.



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to