Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Fri, 16 Aug 1996 20:11:41 +0100
On iR an 8 bit grey scale texture will use up a minimum of 2 bytes per
texel and MIP mapping always costs an extra third.
You can use a new OpenGL extension on iR to pack two 8 bit textures
together and then select one set of the packed halves.
I doubt performer does this, in any case you sound like your using OpenGL.
You need an internal format of GL_DUAL_INTENSITY8_SGIS
and select with
glTexParameteri(GL_TEXTURE_2D, GL_DUAL_TEXTURE_SELECT_SGIS, &selection_0_or_1)
Rgds,
Angus.
On Aug 16, 11:07am, Remi Arnaud wrote:
> Subject: Re: Infinite Reality and Real-Time Graphics
> > Are my greyscale textures being used as 3byte (or 4byte with alpha)
> > internally that I cannot see?
>
> Performer tells you the % of the texture memory you use. As far as you
> stay below 100%, it doesn't matter.
>-- End of excerpt from Remi Arnaud
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:22 PDT