Re: help upgrading from Performer 1.2 to Performer 2.2

New Message Reply Date view Thread view Subject view Author view

Sylvain Mayer (mayer++at++cae.ca)
Thu, 06 May 1999 10:17:08 -0400


Baez Elbert M NPRI wrote:

> Hello:
> As part of my job I have been upgrading an old C Performer 1.2
> application to C++ Performer 2.2. While doing so I came across a function
> that is causing compiling errors. This function goes by the name of
> texgen().
> Here is a piece of the Performer 1.2 source code I have been trying
> to port to Performer 2.2.
>
> int PreDrawReflMap(pfTraverser *, void *)
> {
> texgen(TX_S, TG_SPHEREMAP, 0);
> texgen(TX_T, TG_SPHEREMAP, 0);
> texgen(TX_S, TG_ON, NULL);
> texgen(TX_T, TG_ON, NULL);
>
> return NULL;
> }
>

Hi,

you are getting these undefined errors because texgen and the constants its
using are IRISGL.

You probably are porting the application to OpenGL so you want to have a look at
the glTexGen man pages.

Sylvain

--
Sylvain Mayer, 3D Graphics Developer
Graphics Simulation Technology
Display Eng. & Special Projects
CAE Electronics Ltd. (http://www.cae.ca)
mailto:mayer++at++cae.ca
Tel: (514) 341-6780    Ext: 3065
Fax: (514) 734-5618

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu May 06 1999 - 07:20:33 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.