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/

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


Flightgear-devel mailing list

Reply via email to