Re: regarding multiple channels on a single pipe

New Message Reply Date view Thread view Subject view Author view

Kowsik Guruswamy (giraffe.asd.sgi.com!sgi.sgi.com!cory.portal.com!buggy.coryphaeus.com!kowsik)
Mon, 9 Oct 1995 09:25:11 -0700


On Oct 6, 4:43am, AnitaKishore wrote:
> Subject: regarding multiple channels on a single pipe

[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

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.