Re: texgen
Chris Tanner (cct++at++faith)
Thu, 18 Aug 1994 19:37:27 -0700
On Aug 18, 2:42pm, Fernando D. Mato Mira wrote:
> Subject: texgen
>
> Hello,
>
> in info-performer you wrote:
>
> >>>
> long pfuPreDrawLinearMap(pfTraverser *trav, void *data)
> {
> pfDataPool *dp;
> float *paramsX, *paramsY;
>
> dp = pfAttachDPool(CallBacks);
> if (dp == NULL)
> pfuTexgenParams(NULL, NULL);
> paramsX = (float *)pfDPoolFind(dp, 1);
> paramsY = (float *)pfDPoolFind(dp, 2);
> (trav, trav);
> (data, data);
>
> texgen(TX_S, TG_SPHEREMAP, paramsX);
> texgen(TX_T, TG_SPHEREMAP, paramsY);
> texgen(TX_S, TG_ON, NULL);
> texgen(TX_T, TG_ON, NULL);
>
> return NULL;
> }
> >>>
>
> Shouldn't this be TG_LINEAR? Cut&paste syndrome, probably.
>
> Thanks,
>
> Fernando D. Mato Mira
> Computer Graphics Lab
> Swiss Federal Institute of Technology (EPFL) Phone : +41 (21) 693 - 5248
> CH-1015 Lausanne FAX : +41 (21) 693 - 5328
> Switzerland E-mail : matomira++at++di.epfl.ch
>-- End of excerpt from Fernando D. Mato Mira
Exactly...
Sorry 'bout that...
Later,
Chris
--
_____________________________________________________________
Chris Tanner (cct++at++faith.asd.sgi.com)
Silicon Graphics - Advanced Graphics Division
_____________________________________________________________
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:50:29 PDT