Re: pfNodeTravMask
Jim Helman (jimh++at++surreal)
Sat, 24 Jun 95 17:43:47 -0700
> I am trying to use pfNodeTravMask to turn on or off one of the
> objects in a scene.
A pfSwitch might be better for this. Traversal masks are most
useful when you need traversal dependent behavior, i.e. visible
in one view, but not in another or tested by some intersection
traversals, but not by others. Masks are also sometimes useful
for saving memory (by avoiding the pfSwitches) in very large
scene graphs, e.g. a deep quad tree.
However, your example should work. Are you setting the mask in
the APP process? Does pfGetNodeTravMask() indicate that the mask
has indeed changed?
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:51:36 PDT