Ivan Bach (ib++at++ivan)
Thu, 9 Jun 1994 18:37:40 +0100
I'm in the midle of making a multi-user Performer demo.
I have up to 4 channels, each representing a different users
viewpoint. I have a VTX, with an MCO, so all the channels
render to the same virtual screen, and I then send the video to
diffreent monitors (up to 4), via an MCO. I have set
things up so that all channels share thins like SWAPBUFFERS,
EARTHSKY etc.. At various points within the application I wish to turn
off arbitrary channels. I would like the view point in these channels to
be then set to black (or some other constant colour). My
question is, how do I do that. I tried
pfChanTravMode ( chan, PFTRAV_DRAW, PFDRAW_OFF);
but this only stops any more rendering.
I also tried having
pfChanShare (chan, PFCHAN_SWAPBUFFERS);
pfClearChan(chan);
for two frames before the rendering stops, to clear the
channel, but that did not seem to work.
Anyway, I'm sure there is a simple way to do what I want.
Anyone know how? I suppose I could just write the data
r,g,b=0,0,0
by hand into the frame buffer) but is there
an easier way.
Thanks
Richard Gallery
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:20 PDT