Dorrie Hall (dorrie++at++beamish.mit.edu)
Wed, 19 Jul 1995 21:01:08 -0400
Hi Stephanie,
I used to use overlay mode but based on some very helpful
information posted by Sharon Rose Clay which said that
switching to overlay was a costly operation I draw things
I want on top of the scene by "turning off" the z buffering
in the postdraw callback.
something like this:
/* draw in the same x,y coords as scene */
pfPushState();
pfBasicState();
pfDisable(PFEN_TEXTURE);
pfDisable(PFEN_LIGHTING);
pfDisable(PFEN_FOG);
zfunction(ZF_ALWAYS);
zwritemask(0x000000);
/* draw labels or instruments */
zwritemask(0xFFFFFF);
pfPopState();
If you are adding code to pickfly it maybe clearing the
overlay planes and causing the "blinking".
Dorrie
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:41 PDT