regarding multiple channels on a single pipe

New Message Reply Date view Thread view Subject view Author view

AnitaKishore (kishore++at++electrogig.com)
Fri, 6 Oct 1995 04:43:47 -0700


I create two channels with completly different FOV, and viewing directions and
positions.
They are not grouped together. Both of them share a common scene graph.
Their viewports are the default values of full window.

When the simulation loop starts, I want to be able to switch between
the two channels - once showing the scene from channel 1, another time
showing it from channel 2. I don't want to display both channel's views
at the same time.

I have tried to do this using

        // switch after count = 50; for example

        pfChanScene(chan2, NULL);
        pfChanScene(chan1, scene); // switch from chan2 to chan1

in the simulation loop after I have configured them outside the loop,
created in the order chan1, then chan2, so that view before switching
will be that of chan2.

But this doesn't work. When count=50, chan2's view is now NULL (blank)
but chan1's view doesn't appear.

Any ideas on how to do this...?

Thanks for any input.

-anita


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:56 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.