Nicolas Gauvin (nicolas++at++cae.ca)
Fri, 23 Aug 1996 09:58:41 -0400
You can to this in your draw callback:
1. Enable texture with pfEnable(PFEN_TEXTURE)
2. Apply a pfTexEnv with pfTexEnv::apply
3. Apply a pfTexture with pfTexture::apply
4. Draw your OpenGL geometry
Or you could use a pfGeoState that encapsulates all those 3 and apply it
in your draw callback just before drawing your OpenGl geometry.
--
Nicolas Gauvin CAE Electronics Ltd., 8585 Cote De Liesse
Software Developer Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
nicolas++at++cae.ca fax: +1 514 340 5496
=======================================================================
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:53:24 PDT