Martin Spott wrote:

> Erik Hofman wrote:
>
> > Maybe someone else can step in and explain the 942058 part of the file
> > called 942058.stg ?
>
> I cannot _explain_ it but I could point an an implementation of the
> algorithm that's used to determine this number. This is part of
> TerraGear:
>
>   TerraGear/src/Prep/Tower/calc-tile.pl

Well, there is nothing to explain. It is just a magic/bucket number that is a
function of latitude and longitude of the tile and is used to index scenery
tiles. A tile being a 1/8 of a degree at the equator but its width shrink to
1/4 and 1/2 when the longitude increase ( in absolute value ).

The number is computed in simgear/bucket/newbucket.[hc]xx

-Fred

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to