Brian Furtaw (brian++at++sgi.com)
Tue, 21 Jan 1997 11:41:40 -0500
It would mention Inifinite Reality if it was to be included with the RE and
RE2.
Since it does not this feature should work unless a note further down the page
states otherwise.
>
> 2) Performer question - the pfTexEnv::setComponent call allows one
> component of an RGBA texture to be selected and used as a single
> component intensity texture. The manual says that a 16 bit RGBA texture
> could be used to provide 4 independent 4-bit intensity textures - I
> presume this is just an example, am I correct? I want to use a 32bit
> RGBA texture as separate 8 bit intensity textures as an alternative to
> the colour matrix transformation.
You are talking about the select feature read the glTexImage2D man page for the
particulars of this function here are some excerpts from the man page.
...
GL_DUAL_ALPHA4_SGIS, GL_DUAL_ALPHA8_SGIS,
GL_DUAL_ALPHA12_SGIS, GL_DUAL_ALPHA16_SGIS,
GL_DUAL_LUMINANCE4_SGIS, GL_DUAL_LUMINANCE8_SGIS,
GL_DUAL_LUMINANCE12_SGIS, GL_DUAL_LUMINANCE16_SGIS,
GL_DUAL_INTENSITY4_SGIS, GL_DUAL_INTENSITY8_SGIS,
GL_DUAL_INTENSITY12_SGIS, GL_DUAL_INTENSITY16_SGIS,
GL_DUAL_LUMINANCE_ALPHA4_SGIS, GL_DUAL_LUMINANCE_ALPHA8_SGIS,
GL_QUAD_ALPHA4_SGIS, GL_QUAD_ALPHA8_SGIS,
GL_QUAD_LUMINANCE4_SGIS, GL_QUAD_LUMINANCE8_SGIS,
GL_QUAD_INTENSITY4_SGIS, or GL_QUAD_INTENSITY8_SGIS.
...
I see 4 and 8 bit per component formats listed here so I guess you can split up
an 32bit RGBA texture into four 8bit Intensity textures.
...
The mapping of components from the canonical RGBA to the internal storage
formats that begin with GL_DUAL_ and GL_QUAD_ needs to be clarified.
There are three cases. The first case is for the GL_DUAL_ formats that
are groups of GL_ALPHA, GL_LUMINANCE, and GL_INTENSITY. The R value goes
to the first group while the A value goes to the second group. The
second case is for the GL_DUAL_ formats that are groups of
GL_LUMINANCE_ALPHA. The R and G values go to the first group while the B
and A values go to the second group. The third case is for the GL_QUAD_
formats. The R value goes to the first group, the G value to the second
group, the B value to the third group, and the A value to the fourth
group.
>
> Could somebody clarify the situation here,
>
> Thanks in advance,
>
> Graham.
>
> --
> Sharp Laboratories of Europe, Phone: +44-(0)1865-747711
> Oxford Science Park, Fax: +44-(0)1865-714217
> Oxford, OX4 4GA
> England Graham.Jones++at++sharp.co.uk
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Graham Jones
-- o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-oBrian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= 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:54:25 PDT