Dorrie Hall (dorrie++at++beamish.mit.edu)
Fri, 10 May 1996 13:00:23 -0400
/* in post draw */
pfPushState();
pfBasicState();
pfBasicState();
pfDisable(PFEN_TEXTURE);
pfDisable(PFEN_LIGHTING);
pfDisable(PFEN_FOG);
zfunction(ZF_ALWAYS);
ortho2(0,100.0f,0,100.0f);
mmode(MVIEWING);
pfPushIdentMatrix();
/* just override zbuffer instead of overlay */
zwritemask(0x000000);
/* draw on top of scene here*/
zwritemask(0xFFFFFF);
zfunction(ZF_LEQUAL);
pfPopMatrix();
pfPopState();
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:53 PDT