Hi Kitty,
On Thu, 2006-03-16 at 08:42 +0100, Matthias Stiller wrote:
>
> setActive(bool) is what you are looking for.
Or, if you want more control, setTravMask() on the Node and Viewport.
> > what
> > is the "isVisible(Node *node)" function working for? how can i
> > control the visibility of those nodes in the graph? And what is the
> > connection between Node * and NodePtr?
>
> I'll leave that to others.
isVisible is a method in the Draw/RenderActions that is used to test
whether a Node is inside the viewing frustum. Given that it depends on
some setup that is done when the Action is started, you can't really use
it from outside a traverse method.
Yours
Dirk
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users