Hi, On Sunday, March 11, 2012 21:07:37 Martin Spott wrote: > Mathias Fröhlich wrote: > > The problem is that these sea tiles (Objects/e000n60/e001n61/2975201.stg > > for example) with models never contain a base tile line where we could > > know when to stop seraching the FG_SCENERY directory sequence. > > So for this kind of tiles we could probably place someting into the stg > > file that signals that we should stop seaching here and finish with a > > sea tile. May be we could place a > > > > OBJECT_BASE <id>.seatile > > > > into the above drilling platform stg tile example to terminate the > > search. > It's unclear to me wether you mean adding the above line into the > respective .stg-file in the "Terrain/" folder or into "Objects/" ? > > If you propose to add it into the "Objects/" folder, which is how I > understand your idea, then the procedure to create the "Objects/" > directory structure would be required to know wether there's a terrain > tile or not - a dependency which I'd recommend not to introduce.
I could imagine putting this into any stg file. I also have some yet untested code here that implements something like that: for p in FG_SCENERY load p/Objects/<id0>/<id1>/<id2>.stg load p/Terrain/<id0>/<id1>/<id2>.stg if found OBJECT_BASE in one of the above break done So, the whole thing is to have a propper termination point where to stop accumulating non disjoint scenery models from different sources probably also not exactly matching the elevation of the loaded base tile. I am more guessing what you mean by that dependency? The current process to export all the collected models for the svn scenery is independent from the knowledge if there is a matching Terrain stg file? And you want to preserve this property? Any solution that gets rid of the ugly duplicated models is good. Better solutions do not introduce even more implicitness into the loading process than we currently have. Any simplification would be good also. Better ideas welcome. Greetings Mathias ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel