Russell Suter (russell++at++ctasim.com)
Mon, 21 Apr 1997 10:11:07 -0700
Look at pfNodeTravMask and pfChanTravMask. From the man page of
pfChanTravMask:
pfChanTravMask sets chan's drawing mask and is used in conjunction with
pfNodeTravMask for selective culling and drawing of scene graphs on a
per-pfChannel basis. During the traversal, the bitwise AND of the
traversal mask and the node mask is computed. If the result is non-zero,
the node is culled or drawn as usual. If off (zero), the behavior is as
follows depending on trav:
PFTRAV_CULL
Node is not culled and is considered to be entirely within the
viewing frustum. The cull traversal traverses the node and its
children without any view culling.
PFTRAV_DRAW
Node is completely ignored. Both cull and draw traversals skip
the node and its children.
Node traversal masks are set by pfNodeTravMask. The default pfNode and
pfChannel masks are 0xffffffff so that a pfChannel culls and draws all
pfNodes.
> Yo
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Jean BENOIT
--
Russ
_______________________________________________ ______________________________
Though my eyes could see | Russell Suter
I still was a blind man. | Voice : (303) 889-1262
Though my mind could think | Fax : (303) 889-1210
I still was a mad man. | Internet : russell++at++ctasim.com
_______________________________________________|______________________________
=======================================================================
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:55:06 PDT