Hi Alex, a 100 cliks is way too low, visual horizon at 30000 feet is much
higher than 100 km, and users with the horsepower might want to set it to
what it is in real life : the visual horizon at 30000 feet to sea level is
over 350 km, close to 360.
http://radarproblems.com/calculators/horizon.htm
If we don't have it exposed in preferences.xml, having a user accessible and
settable limit for visibility would do the trick rather than an arbitrary
value that will not cater to all cases.
Cheers,
Nic
On Mon, Oct 12, 2009 at 1:18 PM, Alex Buzin <buzin6...@hotmail.com> wrote:
> Hi,
> I was noticed that FG hangs and than crashes if pressing "z" key. If
> visibility value is not controlled by user, it can be occasionally
> **increased to a huge value (>1000 km). In this case TileLoader is
> trying to load hundreds of tiles. At the beginning I was expected a
> number of tiles to be limited by the size of TileCache (100), but I was
> mistaken. Size of TileCache is growing in routine
> FGTileMgr::schedule_needed( ... ) to make space for all tiles.
>
> On my PC when /environment/visibility-m > 500-1000km memory usage grows
> from 300M up to 3G an this leads to crash.
>
> Can somebody limit the value in property /environment/visibility-m or
> the value of variable "vis" in FGTileMgr::schedule_needed( ... ). The
> maximum value of 100km will be acceptable IMHO.
>
> With respect,
> Alex
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
--
Be Kind.
Remember, everyone is fighting a hard battle.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel