Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-06-02 Thread Jason Cox
On Thu, 2011-06-02 at 03:12 +0200, Geoff McLane wrote: Hi Jason, When you say a 'long time', do you mean more than this, like DAYS? ;=(( Just trying to get an idea of how 'patient' one MUST be... before deciding something is really going 'wrong'... I have found that the standard set

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-06-02 Thread Christian Schmitt
Geoff McLane wrote: Thanks. It is good to know that the - Default=x, where x = 0-2 is 'normal', but Chris reported that it was still running after 6 hours, or more... and still unable to exactly find where this is output, in the code... You won't be able to find Default in the sources as

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-06-01 Thread Jason Cox
Chris/Geoff, I normally see reams of these and other similar lines. I think that you are seeing some form of count for terrain type. My usual output has other textures mixed in there and only ever 3 as the number expressed. If you are using a hight level of detail (OSM residental) and processing

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-06-01 Thread Christian Schmitt
Geoff McLane wrote: It is certainly _NOT_ 'normal' behavior, and historically (I assume Curt ;=)) implemented some draconian 'rlimit' - setrlimit(RLIMIT_CPU,timeout), to abort after a period of time, which is just NOT available in my WIN32 environment, to avoid such a 'forever' loop... Hi,

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-31 Thread Christian Schmitt
Geoff, I applied both of your patches, see here: https://gitorious.org/papillon81/terragear-cs Until now I had no crashes or negative effects on the resulting scenery. However, there IS a problem, unrelated to your patches, for which I hope to get some help. I create large chunks of scenery

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-31 Thread Geoff McLane
Hi Chris, Glad the rough 'fixes' I provided worked a little for you... have yet to clone your 'papillon81' clone, and try it... but... While it is agreed on this list everyone seems to really _LOVE_ extreme brevity, (perhaps except me ;=)), your post just did not tell me enough ;=(( I

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-29 Thread Anders Gidenstam
On Sat, 28 May 2011, Geoff McLane wrote: Hi all, I read (everywhere) that a vector erase invalidates all current iterators - see say - http://www.cplusplus.com/reference/stl/vector/erase/ so I really do not understand why genfans.cxx has lasted so long like it is ;=(( When it does a -

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-29 Thread Geoff McLane
On Sun, 2011-05-29 at 09:55 +0200, Anders Gidenstam wrote: On Sat, 28 May 2011, Geoff McLane wrote: Hi all, I read (everywhere) that a vector erase invalidates all current iterators - see say - http://www.cplusplus.com/reference/stl/vector/erase/ so I really do not understand why

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-29 Thread Christian Schmitt
Geoff McLane wrote: It certainly works better for me ;=)) And removes another reason why fgfs-construct can abort without apparent reason! Hi, you mean segfaults with no apparent reason? I experience them under Linux when building huge scenery chunks and if your patch improves the situation,

Re: [Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-29 Thread Geoff McLane
On Sun, 2011-05-29 at 11:45 +0200, Christian Schmitt wrote: Geoff McLane wrote: It certainly works better for me ;=)) And removes another reason why fgfs-construct can abort without apparent reason! Hi, you mean segfaults with no apparent reason? I experience them under Linux when

[Flightgear-devel] terragear - file src/Lib/Optimize/genfans.cxx

2011-05-27 Thread Geoff McLane
Hi all, I read (everywhere) that a vector erase invalidates all current iterators - see say - http://www.cplusplus.com/reference/stl/vector/erase/ so I really do not understand why genfans.cxx has lasted so long like it is ;=(( When it does a - tris.erase( t_current ); it should reset