Eddy Kuo (ekuo++at++ait.nrl.navy.mil)
Mon, 4 May 1998 17:38:26 -0400 (EDT)
Thanks for the advices. The problem is partially solved.
First let me state what I have changed
i) I am using double buffering, this is checked
from the visualID for my pfPipeWindow
ii) I am using immediate draw mode.
This is done by calling
setDrawMode(PFGS_COMPILE_GL, PF_OFF)
setDrawMode(PFGS_DRAW_GLOBJ, PF_ON)
for each geoset
iii) I am running the program on a IR, Onyx II
two pipes machine. Each pipe renders
two channels
iv) Set the initial iseg mask to 0 (since I
am not doing any intersection right now)
by calling:
grotto_obj->root[i]->setTravMask(PFTRAV_ISECT, 0x0,
PFTRAV_SELF|PFTRAV_DESCEND,
PF_SET);
v) update the bounding box whenever the geoset geometry
changes. This is done by:
gset->setBound((pfBox*)NULL, PFBOUND_DYNAMIC);
After all these changes, image on my master channel is fine for the
most part, and the image on the other channels are still flashing.
And I notice the flashing only happen when my geoset has more than
one primitives.
Thanks for any advice.
Ed.
-------------------------------------------------------------------
=======================================================================
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:57:21 PDT