Hi Felix,

The OSG itself is basic a tree data structure.  You can't have any
cycles in it without introducing special traversal counts to break
recursion beyond a particular level - this isn't something the OSG
supports out the box, but you could write a callback to do it.

But.. if you are just talking about spatial layout rather than data
structures then yes you can lay it out any how you want.  If you want
different parts of the scene graph to geometrically relate to each
other then its down to the developer to add this, but this is very
much app developers task rather something core to the scene graph.

Robert.

On Fri, Mar 28, 2008 at 6:24 AM, Felix Bwire <[EMAIL PROTECTED]> wrote:
> Hi there,
> Given a graph in osg, is it possible to extend osg with layout algorithms so
> that the graph can be given another structure, such as the tree like
> structure or cyclic or hyperbolic or clustering of nodes. I know there are
> algorithms that can do that, but can they be used to extend osg? If it is
> possible, how can it be done?
> _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to