Veraart (rioj7++at++fel.tno.nl)
Fri, 12 Apr 1996 18:19:20 +0200 (MET DST)
Why don't you just draw on the screen and not the overlay plane if you
draw the code every frame?
Just draw your bitmap as if it where a HUD.
For IRISGL you can use the following code
pfGetChanSize(chan,&xSize,&ySize);
sizeRatio = (float)xSize/(float)ySize;
/* init state */
pfPushState();
pfBasicState();
zfunction(ZF_ALWAYS);
ortho2(-sizeRatio, sizeRatio,-1.0f, 1.0f); // or choose some better mapping
mmode(MVIEWING);
pfPushIdentMatrix();
/* draw the stuff you want */
/* restore state */
zfunction(ZF_LEQUAL);
pfPopMatrix();
pfPopState();
Hope this will be of any help to you.
Mario
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:42 PDT