Melchior FRANZ wrote: > * Melchior FRANZ -- Saturday 28 April 2007: >> splash textures can now also be greyscale and greyscale/alpha, >> and they also respect an alpha layer. That way one can use >> countours (squadron emblems, etc.) together with varying background >> colors (--prop:/sim/gui/style/colors/splash-screen/red=0.5 etc.) > > Here's an example: > > http://members.aon.at/mfranz/a6-splash.jpg [24.6 kB]
Too bad the splash loader doesn't take jpeg files. The size difference is more than significant. I grabbed the A-6E/splash.rgb from cvs to see what you're talking about. I do see what you're doing with the alpha. It is one way to save space. However, I don't see the greyscale. Perhaps this isn't meant as an example of that. It is "just another" 8/8/8/8 bit file, that doesn't look "special" to me. BUT, when I posed above a green runway, and made my own transparent splash screen file... _I_ got a Seg.Fault!! After trying this and that, I find if I save with Aggressive RLE Compression, then it crashes Flightgear 0.9.10. If I save with just RLE compression, it works file, and only costs a few bytes. So, If Alpha == 0 then save Agressive RLE is ok else if alpha >=1 then save RLE compression. So while the SGI format may not support 8/8/8/1, the identify program does make the distinction, that seems to have relevance to splash screens (in the old loader). >> So it's indeed required not to use the aggressive RLE option for >> the splash screen images [...] > > Nope. But GIMP apparently generates corrupted files where compressed > scanlines aren't properly closed. (This is probably the reason why > they falsely claim that SGI doesn't support those. Yes, some spec > compliant readers may not like the corrupted GIMP files. ;-) So the documentation for how to save as sgi format is needing some clarification regarding images with transparency. Stewart ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel