Jim Helman (jimh++at++surreal)
Wed, 03 Aug 94 00:26:13 -0700
** if (alpha)
pfTexFormat(pfTex,PFTEX_INTERNAL_FORMAT,PFTEX_RGBA_4);
** else
pfTexFormat(pfTex,PFTEX_INTERNAL_FORMAT,PFTEX_RGB_5);
output = decodeTexture(path);
/* create the texture... I initially had 1 for the nr
parameter value but I thought that maybe that gave it a depth
of 2 (ie 0 & 1) so I now set it to zero but it makes no
difference to the problem */
pfTexImage(tex,output,nComponents,nWidth,nHeight,0)
** pfTexName(tex, path);
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:26 PDT