Steve Baker (sbaker++at++link.com)
Wed, 22 Oct 1997 09:06:24 -0700 (PDT)
> I would like to use the GL_ADD texture mode that is available in
> OpenGL in my Performer app:
>
> glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_ADD);
>
> But i do not see it in the pfTEnvMode function:
>
> pfTEnvMode(tev, PFTE_ADD); !! not allowed
>
> Will this be supported in Performer 2.2? Is there any work
> around possible in currently released versions of Performer?
My (beta) copy of 2.2 *does* define PFTE_ADD - so I guess it should
work in 2.2.
I don't know if there is a work-around for 2.0 or 2.1. The 'define'
for all the PFTE_ env modes are just the same as the OpenGL tokens,
so I suppose there is a *chance* that you might have success if
you simply hack in:
#define PFTE_ADD GL_ADD
-- NO promises!
-- Don't forget to take this out when you eventually do upgrade to 2.2!
-- Don't do this for IrisGL!)
Steve Baker 817-619-8776 (Vox/Vox-Mail)
Hughes Training Inc. 817-619-4028 (Fax)
2200 Arlington Downs Road SBaker++at++link.com (eMail)
Arlington, Texas. TX 76005-6171 SJBaker1++at++airmail.net (Personal eMail)
http://www.hti.com http://web2.airmail.net/sjbaker1 (personal)
** Beware of Geeks bearing GIF's. **
=======================================================================
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:56:06 PDT