I have compiled osg successfully with and without osg_use_bound and everything seems to work with our software. (For the record, I only had to change two lines of code to make our software compile without osg_use_bound)
I must say that after thinking about this I share a bit of David concern. I understand the need to do this change. Not only will it make easier to construct scenegraphs, it will also remove a lot of duplicate code (think of update, cull and event callbacks). But right now it only adds more complexity to the code. I think that in the end a solution could be to abandon the use of Geodes and just add drawables to groups directly. That way only a group can have children so the parentlist can be reverted to become a list of groups again. But this will break a lot of code. Another solution would be to have two geometry nodes side by side, one to be used with geodes and one that can be attached to nodes directly. Then have the Geodes and the old Geometry node deprecated so people have time to update the code base. You could for instance in the next osg version deprecate it with maybe a compile time warning, then in the osg version after that also add runtime a warning when these types of nodes constructed and in the version after that just remove them. But this of course will mean we will have a lot of duplicate code for the next few osg versions. By the way, adding drawables to nodes would also degrade performance a bit as drawables attached to nodes will have a boundingbox with a sphere around it making all the parent bounding spheres larger that previously. This won't impact draw performance as at the end osg culls using the bounding boxes but it could impact cull traversal time as it will travel deeper into the tree before it starts to cull out nodes. Cheers, Pjotr ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59425#59425 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

