Re: [Flightgear-devel] Re: Help... aircraft texture

2005-06-04 Thread Josh Babcock
Melchior FRANZ wrote:
 * Melchior FRANZ -- Friday 03 June 2005 08:12:
 
* gimp:
  - save as foo.rgb and select SGI in the Determine Filetype selector
(Don't use By extension, because that creates some other *.rgb format)

  - or save as foo.sgi and then rename to foo.rgb
 
 
 When asked for the Compression Type, choose Aggressive RLE (Not supported
 by SGI). (This *is* supported by SGI, it's in SGI's own SGI image format
 spec. This compression type is supported by GIMP, KDE, ImageMagick, Blender,
 plib, ... and is the smallest that GIMP can write. (Could be made smaller
 by other programs. Just ask. :-)
 
 
 
 
* any graphics program. Save to any format. But then convert to SGI using
  ImageMagick's convert:

$ convert foo.jpeg sgi:foo.rgb
 
 
 convert seems to use (non-aggressive) RLE by default. If not, use the
 -compress RLE option.
 
   $ convert foo.jpeg -compress RLE sgi:foo.rgb
 
 m.
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@flightgear.org
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 2f585eeea02e2c79d7b1d8c4963bae2d
 

Yes, I remember this, but I can't seem to find it in the archives. How
does one strip out alpha channels again?

Josh

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help... aircraft texture

2005-06-04 Thread Melchior FRANZ
* Josh Babcock -- Saturday 04 June 2005 19:14:
 Melchior FRANZ wrote:
$ convert foo.jpeg -compress RLE sgi:foo.rgb

 How does one strip out alpha channels again?

Don't know with convert, although I would be surprised if it weren't
able to. I use KDE for that. You can load the image in kolourpaint and
save it again, which makes some textures a lot smaller. I've got an
external program (compilable under KDE only [1]) that does this from the
command line (and even compress a little more). Doesn't look like you
are a KDE guy, though.  :-)

m.



[1] http://members.aon.at/mfranz/rle.tar.gz  [5.5 kB]
$ make rle

Usage:  rle [--description string] file(s)

$ ./rle foo.jpg bar.png
... creates  foo.rgb and bar.rgb

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help... aircraft texture

2005-06-03 Thread Melchior FRANZ
* Sam Heyman -- Friday 03 June 2005 02:46:
 How does one create a new texture for a .ac model? Which programs are 
 best suited?

Textures need to be in the SGI image format with size 2^n * 2^m.
Often they are 256*256, 512*512, 1024*1024, but 128*1024 does work, too.
They are in SGI format, which uses different extensions: *.rgb, *.rgba,
*.sgi, *.bw, *.al. The extensions are only hints for the user. There's
no formal difference between *.rgb and *.rgba. People often call that
format RGB format.

Either use:

* gimp:
  - save as foo.rgb and select SGI in the Determine Filetype selector
(Don't use By extension, because that creates some other *.rgb format)

  - or save as foo.sgi and then rename to foo.rgb


* any graphics program. Save to any format. But then convert to SGI using
  ImageMagick's convert:

$ convert foo.jpeg sgi:foo.rgb


* blender: these are only drafts and have to be finished in gimp etc.
  but you can create very useful object outlines, and even draw directly
  on the texture while it is applied to the object! It'll save to TGA
  (Targa) format and you'd have to convert that to SGI again.

* KDE's kolourpaint does write SGI images, too, just like any other KDE
  program that can write images.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help... aircraft texture

2005-06-03 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 03 June 2005 08:12:
 * gimp:
   - save as foo.rgb and select SGI in the Determine Filetype selector
 (Don't use By extension, because that creates some other *.rgb format)
 
   - or save as foo.sgi and then rename to foo.rgb

When asked for the Compression Type, choose Aggressive RLE (Not supported
by SGI). (This *is* supported by SGI, it's in SGI's own SGI image format
spec. This compression type is supported by GIMP, KDE, ImageMagick, Blender,
plib, ... and is the smallest that GIMP can write. (Could be made smaller
by other programs. Just ask. :-)



 * any graphics program. Save to any format. But then convert to SGI using
   ImageMagick's convert:
 
 $ convert foo.jpeg sgi:foo.rgb

convert seems to use (non-aggressive) RLE by default. If not, use the
-compress RLE option.

  $ convert foo.jpeg -compress RLE sgi:foo.rgb

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Help... aircraft texture

2005-06-03 Thread Arnt Karlsen
On Fri, 3 Jun 2005 11:54:48 +0200, Melchior wrote in message 
[EMAIL PROTECTED]:

 When asked for the Compression Type, choose Aggressive RLE (Not
 supported by SGI). (This *is* supported by SGI, it's in SGI's own SGI
 image format spec. This compression type is supported by GIMP, KDE,
 ImageMagick, Blender, plib, ... and is the smallest that GIMP can
 write. (Could be made smaller by other programs. Just ask. :-)

..hey, what happened to RTFM?  ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d