Angus Dorbie (dorbie++at++sgi.com)
Tue, 02 Feb 1999 16:32:55 -0800
Yes the number of components in an image file will be used to determine
the internal format of a pfTexture IF you use it's method to load the
file.
You'll still have to make sure that the transparency state is set
appropriately in the geostate though or transparency won't be enabled
and it'll look just like an RGB (if you have a MODULATE texture
environment).
Cheers,Angus.
Roni Kass wrote:
>
> Some textures questions:
>
> 1) Is there a way to find for an SGI file (Before loading it as texture)
> if it
> is RGB or RGBA
>
> 2) When I load a SGI file, without setting the internal format first,
> wil it
> know to set the internal format for rgb files to RGB and for rgba files
> to RGBA_8 ?
>
> Thanks
>
> Roni Kass
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Tue Feb 02 1999 - 16:33:00 PST