Textures/Sky/broken.rgba seems to be literally just that, broken. Or
rather, corrupted. As do scattered, few, and cirrus. fg/osg (but not
plib) frequently crashes and I've traced it down to the cloud cover
(clouds == likely crash, or crazy sky as in
http://hans.fugal.net/tmp/fg/fgfs-screen-007.png, no clouds ==
probably no crash).

ImageMagick does not think these corrupted (identify(1) should return
nonzero if it encounters a corrupted file), but some of them are
obviously not being interpreted correctly by ImageMagick. Try "display
cirrus.rgba" to see what I mean. Unfortunately this means we can't
just use convert(1) or mogrify(1) to fix the files that are broken.

On the other hand opening them in Gimp they all look as they should. I
saved them as PNG and then ran "convert $i.png sgi:$i.rgba", and the
crashes went away. Melchior says that gimp sometimes creates corrupt
SGI files, and this is the likely root of the problem.

I haven't been able to figure out a way to systematically identify
corrupt SGI files (no doubt there are some more out there), but I'm
moderately confident that this takes care of the Sky textures.

Please import the fixed textures into CVS from
http://hans.fugal.net/tmp/fg/Sky , or someone close to textures might
prefer to fix them himself. Here's what identify returns on the files
in my Textures/Sky directory:

$ identify *.rgb*
broken.rgba SGI 256x256 256x256+0+0 DirectClass 8-bit 263.469kb
broken_n.rgb[1] SGI 256x256 256x256+0+0 DirectClass 8-bit 220.051kb
cirrus.rgba[2] SGI 256x256 256x256+0+0 DirectClass 8-bit 49.4824kb
cirrus_n.rgb[3] SGI 256x256 256x256+0+0 DirectClass 8-bit 60.7227kb
cl_cumulus.rgb[4] SGI 256x256 256x256+0+0 DirectClass 8-bit 256.5kb
cl_stratus.rgb[5] SGI 256x256 256x256+0+0 DirectClass 8-bit 256.5kb
cloud.rgba[6] SGI 256x256 256x256+0+0 DirectClass 8-bit 256.5kb
few.rgba[7] SGI 256x256 256x256+0+0 DirectClass 8-bit 30.8066kb
few_n.rgb[8] SGI 256x256 256x256+0+0 DirectClass 8-bit 93.6797kb
inner_halo.rgba[10] SGI 64x64 64x64+0+0 DirectClass 8-bit 4.53125kb
moon.rgba[11] SGI 256x256 256x256+0+0 DirectClass 8-bit 78.291kb
outer_halo.rgba[12] SGI 256x256 256x256+0+0 DirectClass 8-bit 49.8965kb
overcast.rgb[13] SGI 256x256 256x256+0+0 PseudoClass 256c 8-bit 67.332kb
overcast_n.rgb[14] SGI 256x256 256x256+0+0 DirectClass 8-bit 152.703kb
overcast_top.rgb[15] SGI 256x256 256x256+0+0 PseudoClass 256c 8-bit 63.7656kb
overcast_top_n.rgb[16] SGI 256x256 256x256+0+0 DirectClass 8-bit 142.602kb
scattered.rgba[17] SGI 256x256 256x256+0+0 DirectClass 8-bit 78.416kb
scattered_n.rgb[18] SGI 256x256 256x256+0+0 DirectClass 8-bit 230.904kb
sun.rgba[19] SGI 128x128 128x128+0+0 DirectClass 8-bit 8.24609kb

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to