Hi every one,
        This may be stupid n00b question but, how would you recommend
implementing a bsp tree in OSG?The three ways I thought of were:

1) use standard osg::Groups for each node and Geodes for leaf nodes.

2) subclass osg::Group for just the entire tree and instead of storing
nodes in a std::list store in a custom bsp structure in which leaf nodes
have a pointer to a geode.

3)subclass osg::Drawable and have it do all rendering independent of
osg.

The first option would seem to me to have a lot of overhead for a bsp.
the second would be my preferred route,though I'm not sure I could
implement it in a very elegant fasion.
The third option would seem to reinvent the wheel but if that's the only
drawback then maybe thats ok I don't know.
Anyway I just thought I ask all you smart and experienced people out
there if you have any advice for me.
thanks,
Micah                                                                           

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

Reply via email to