Scott McMillan (mcmillan++at++cool.cs.nps.navy.mil)
Thu, 11 May 1995 13:14:41 -0700 (PDT)
Anyway to get the desired performance I want to turn texturing off on
the EXtreme. When I do that all of these objects start to blink on
and off erratically and sometimes they never show up. Below is what
I have in the drawChannel() function before the call to pfDraw():
if (G_shared->reality_engine) { // flag set if machine is RE
pfOverride(PFSTATE_ENTEXTURE | PFSTATE_TEXTURE, 0);
pfEnable(PFEN_TEXTURE);
pfEnable(PFEN_LIGHTING);
}
else {
pfDisable(PFEN_TEXTURE);
pfOverride(PFSTATE_ENTEXTURE | PFSTATE_TEXTURE, 1);
// This is something I have to do for an Indigo2 Extreme to get
// objects with alpha planes to stop blinking.
pfOverride(PFSTATE_TRANSPARENCY, PF_OFF);
pfTransparency(PFTR_ON);
pfOverride(PFSTATE_TRANSPARENCY, PF_ON);
}
The last three lines are what I had to add to get it to behave properly.
My questions are (1) can anyone explain what was happening to cause
the blinking in the first place and (2) is this the correct (read most
computationally efficient) way to overcome it?
Thanks in advance,
scott
--
Scott McMillan, Ph.D. (408) 656-3316 mcmillan++at++cs.nps.navy.mil
URL: http://cs.nps.navy.mil/people/faculty/mcmillan/
Dept. of Computer Science/Naval Postgraduate School/Monterey, CA 93943
"Manuals! Manuals!! We don't need no stinkin' manuals!"
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:29 PDT