Re: Loading textures other than .rgb

New Message Reply Date view Thread view Subject view Author view

From: Allan Schaffer (allan++at++sgi.com)
Date: 12/07/2001 10:35:01


Frédéric Marmond wrote:
> Does anybody know how to load texture in other format than .rgb?
>
> I would like to load meshes (in dxf, 3ds,... format) which contain textures
> in jpeg, tga,.. formats.

If you're using IRIX, then get yourself the upgrade to Performer 2.5.
2.5's texture loading routines are integrated with the SGI Image Format
Library, so calls to pfTexture::loadFile() can now load images in the
following formats:

    Raw 5551 packed pixel format (raw5551) (read only)
    Kodak PhotoCD overview (PCDO) (read only)
    SOFTIMAGE image (SOFTIMAGE)
    NITF image (NITF)
    USGS DOQ (DOQ) (read only)
    Windows Bitmap Image (BMP)
    FIT image (FIT)
    Classic SGI image (SGI)
    GZIP compression (GZIP)
    JFIF/JPEG image (JFIF)
    Raw image (Raw)
    TIFF image (TIFF)
    PNG image (PNG)
    PPM image (PPM)
    XPM image (XPM)
    YUV image (YUV)
    QuickTime File (QT)
    Alias image (Alias)
    SGI Movie File (MV)
    XBM image (XBM)
    GIF image (GIF)
    Kodak PhotoCD image (PCD) (read only)

SGI movie file, Quicktime file? Had no idea. I wonder what happens.
:-)

Allan

----
Allan Schaffer                                            allan++at++sgi.com
Engineering Manager, OpenGL Performer                    1-650-933-2160
Silicon Graphics                           http://reality.sgi.com/allan


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 10:34:55 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.