Cory Riddell wrote:
I want to create a graph where some nodes have more than one parent, but
every parent node doesn't necessary have a non-backtracking path back to
the root node. Does this make sense? How about some bad ascii art:

A
|
B  C
| /
D

"A" has been designated as the root but there is a node "C" that isn't a
child of that root. Is this possible?

Unless you've hidden some deeper question within your question, the answer is to simply do this:
  A->addChild( B );
  B->addChild( D );
  C->addChild( D );

   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to