[osg-users] File reading and node traversal problem.

2013-10-13 Thread Murat KIRTAY
Dear All,

I am getting my hands dirty with osg, and I have faced below problem
and could not find a solution on the previous posts, forums etc.

*Problem:* when reading a osg file via osgDB::readNodeFile( fileNameStr )
in order to create
a node (osg::Node), while traversing this node with visitor, in first
traversing apply method
were performed to all child nodes, yet when we performed for same node
again, it does not
call the apply method for the child nodes. In addition, no joy for cloning
the node as well.

Why I can not visit child nodes in the 2nd traversal?

Any clue or references to fade away this problem.

Best.
--
Murat.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] File reading and node traversal problem.

2013-10-13 Thread Trajce Nikolov NICK
Hi Murat,

maybe you post your code snippet of the traversal so we see what might be
wrong there

Cheers,
Nick


On Sun, Oct 13, 2013 at 5:16 PM, Murat KIRTAY muratk...@gmail.com wrote:

 Dear All,

 I am getting my hands dirty with osg, and I have faced below problem
 and could not find a solution on the previous posts, forums etc.

 *Problem:* when reading a osg file via osgDB::readNodeFile( fileNameStr )
 in order to create
 a node (osg::Node), while traversing this node with visitor, in first
 traversing apply method
 were performed to all child nodes, yet when we performed for same node
 again, it does not
 call the apply method for the child nodes. In addition, no joy for cloning
 the node as well.

 Why I can not visit child nodes in the 2nd traversal?

 Any clue or references to fade away this problem.

 Best.
 --
 Murat.

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org