* Jon Stockill -- Friday 25 November 2005 19:52:
> Melchior FRANZ wrote:
> > * Jon Stockill -- Friday 25 November 2005 18:53:
> > > unfortunately the scenery code doesn't place models 
> > > in tiles where there's no terrain - so they never show up.
> > 
> > What about delivering those with a tiny *.btg.gz that places
> > a tiny island under the object, below sea level?
> 
> I'm not sure you can - if you include a btg file then you won't get the 
> "default" sea area at all. I *suspect* that the scenery loader just 
> bails out on loading if it finds nothing in the terrain tree, rather 
> than checking the objects tree too.

The problem is that the objects are placed relative to the tile
center. And the tile center is initialized to 0/0/0 until the tile
was loaded. Everthing that comes before the btg.gz file (if there
is one at all) is simply placed somewhere relative to the center of
the earth. That's also why objects in FG_SCENERY dirs are ignored when
they come before the btg.gz. Ugly!

I'll have to put my local terrain in front (so that it can override
other terrain), and put my local objects at last (so that it is
guaranteed to come after the terrain).

  
FG_SCENERY=$FG_HOME/Scenery/Terrain:$FG_ROOT/Scenery:$FG_ROOT/WorldScenery:$FG_HOME/Scenery/Objects

This does still not solve the sea platform problem, of course.  :-/

m.

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

Reply via email to