Ralf, Thanks for the patch. This sounds exactly like the problem I had in May, when trying very high-res data generated from TerraGear. See the May archives for details. Found the max nodes was 32767, based on data type. TerraGear didn't complain when generating 40K, but was losing bits in the output. FG crashed when trying to read the resulting scenery.
Regards, Jim > > Hi, > > this patch should fix the bug. > > Regards, > Ralf > > Ralf Gerlich schrieb: > > Hi all, > > > > I did some further analysis on this bug and I found that in > line 237 > > of leaf.cxx > > > > texcoord = texcoords[ tex_index[i] ]; > > > > tex_index[i] is negative in the case of the crash. > Specifically, the > > value in my case is 0xffff8000, which looks like a > > short-to-int-conversion problem. (Yes, the custom scenery is pretty > > detailed in some parts and yes, I'm working on a reduction > of vertices > > as well ;-) > > > > IIRC there was a change to the scenery code from short to int some > > time ago. > > > > Regards, > > Ralf > _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
