Kowsik Guruswamy (giraffe.asd.sgi.com!sgi.sgi.com!cory.portal.com!buggy.coryphaeus.com!kowsik)
Mon, 9 Oct 1995 09:25:11 -0700
[snip]
> I have tried to do this using
>
> // switch after count = 50; for example
>
> pfChanScene(chan2, NULL);
> pfChanScene(chan1, scene); // switch from chan2 to chan1
How about using pfChanTravMode(...)
pfChanTravMode (chan2, PFTRAV_DRAW, PFDRAW_OFF);
pfChanTravMode (chan1, PFTRAV_DRAW, PFDRAW_ON); // switch on chan1
>From the man pages:
For drawing, mode is either PFDRAW_OFF or PFDRAW_ON. PFDRAW_OFF
essentially turns off chan. No culling or drawing traversal will take
place. Drawing is enabled by default. pfGetChanTravMode returns the
mode corresponding to trav or -1 if trav is an illegal or unknown
traversal type.
Hope that helps,
K.
-- kowsik++at++coryphaeus.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:56 PDT