texgen

New Message Reply Date view Thread view Subject view Author view

Fernando D. Mato Mira (matomira++at++lig.di.epfl.ch)
Wed, 17 Aug 94 23:17 MDT


Hello,

  The man page for pfTexture says:

>>
     For geometry to be textured, the following must be true:

          1. Texturing must be enabled: pfEnable(PFEN_TEXTURE)

          2. A pfTexEnv must be applied: pfApplyTEnv

          3. A pfTexture must be applied: pfApplyTex

          4. Geometry must have texture coordinates: pfGSetAttr,
               PFGS_TEXCOORD2
>>

Doesn't texgen work also for point 4. ?
And then, I guess TG_ON and TG_OFF is my own responsibility (so
that I can override the coords in the pfGeoSet)..

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:29 PDT

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