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 visi
Hi,
It is because it's parent is inactive. Inactivating a node stops
rendering for that entire subgraph.
It sounds like you need to rearrange your graph to get what you want
(make sure geometries are leaf-nodes), or activate the child and all
nodes on the path back to root, if that is applic
Hi,
Now comes another question. When I set inactive of a Node, then all the
children are inactive. Then when I need one of the child active,
setActive(TRUE), it doenst work. Is that because this child node is not
directly attached to the root scence node or is it because of it parent is
inacti
Great!!! Mattias, Thanks a lot!!
You helped me a lot. It works~~
happy Kitty :-)
- Original Message -
From: "Matthias Stiller" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 16, 2006 4:42 PM
Subject: Re: [Opensg-users] a question about opensg rendering
Hello Kitty
Hello Kitty,
> I am working on a project which runtime load in a model with tree
> control generation.So I want to control tree view to control graph
> rendering, which means when i deselect a tree node, some part of
> model should disappear or hide in the graph. And select action is
> doing vice
Hi,
I am working on a project which runtime load in a
model with tree control generation.So I want to control tree view to control
graph rendering, which means when i deselect a tree node, some part of model
should disappear or hide in the graph. And select action is doing vice
versa. I thin