Re: [info-performer] Using .5551 and .888 textures

Date view Thread view Subject view Author view

From: Don Burns (don++at++andesengineering.com)
Date: 10/16/2003 14:13:35


Hi Terry,

You can't use 5551 or 888 image file formats because they are raw data.
There is no header information that allows a generic image loader to
determine the width, height, etc. That information is in the .ct file for
clipmaps.

You can convert your 5551 or 888 images in the following way:

On IRIX:

    imgcopy myfile.888#raw%size=512,512%colormodel=rgb convertedimage.rgb

On Linux use ImageMagic "convert":

    convert -size 512x512 -depth 8 rgb:myfile.888 convertedImage.sgi

-don

On Thu, 16 Oct 2003, Terry Welsh wrote:

> Is it possible to load a model that references textures of the type .5551 or .888? These files can be used if they're part of a cliptexture, but they can't be loaded if I try to use them as regular textures. Here's the offending output that I get from perfly:
>
> PF Info: pfdLoadFile_flt: database terrain.flt
> PF Info/Resource: loading file terrain.flt
> iopen: bad magic in image file d
>
> Terry Welsh
> http://www.reallyslick.com
>
>
> _____________________________________________________________
> Get Your Free Email at http://www.totalmail.com
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Oct 16 2003 - 14:51:29 PDT