Allan Schaffer (allan)
Sun, 8 Jun 1997 16:34:54 -0700
The routine 'pfuGetTexSize' in libpfutil/tex.c is calculating that
this texture uses 4 bytes (32 bits) per texel. It does this
calculation depending on the PFTEX_INTERNAL_FORMAT.
So I'd guess this texture has an internal format of PFTEX_IA_12. You
should be able to modify this in your modeller. Change it to the
equivalent of PFTEX_I_8.
On RE and IR, textures are stored internally with either 16, 32, or
48 bits per texel.[*] If your texture is smaller than these you can
specify various packing styles via the pfTexEnv.
Allan
[*] According the code there seems to also be a format PFTEX_RGB_12
which uses 4.5 bytes per pixel, which I was not aware]
--
Allan Schaffer allan++at++sgi.com
Silicon Graphics http://reality.sgi.com/allan
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
SGI DevForum 97 info: http://www.sgi.com/Forum97/
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:24 PDT