Baez Elbert M NPRI (BaezEM++at++Npt.NUWC.Navy.Mil)
Thu, 6 May 1999 09:44:22 -0400
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;
}
And these are some of the error messages I have been getting from
the C++ compiler (in Irix 6.5).
"omni_effects.cc", line 1174: error(1020): identifier
"texgen" is undefined
texgen(TX_S, TG_SPHEREMAP, 0);
^
"omni_effects.cc", line 1174: error(1020): identifier "TX_S"
is undefined
texgen(TX_S, TG_SPHEREMAP, 0);
^
"omni_effects.cc", line 1174: error(1020): identifier
"TG_SPHEREMAP" is
undefined
texgen(TX_S, TG_SPHEREMAP, 0);
^
I did a "man texgen" and this is partly what it showed:
NAME
texgen - specify automatic generation of texture
coordinates
FORTRAN SPECIFICATION
subroutine texgen(coord, mode, params)
integer*4 coord, mode
real params()
.
.
.
This function (texgen()) seems to be a Fortran call, but it was
called from a Performer 1.2 application. My question is: How can I make a
call to texgen() from Performer 2.2? Which is the correct way to do it?
Can anyone please help me out with this issue? Any hints will be
greatly appreciated!
Thank you very much!,
Elbert
________________________________
Elbert M. Baez
NUWC DIVISION NEWPORT
Code 61, Bldg. 1320, Rm. 553
1176 Howell St.
Newport, RI 02841-1708
phone: (401) 832-5751
fax : (401) 832-7440
email: BaezEM++at++Npt.NUWC.Navy.Mil
________________________________
This archive was generated by hypermail 2.0b2 on Thu May 06 1999 - 06:44:32 PDT