Hi all,
I was wondering, what's the correct way to get the world space bounds of
a node? I can do the following:
osg::ComputeBoundsVisitor cbbv;
node->accept(cbbv);
osg::BoundingBox bb = cbbv.getBoundingBox();
I also have the localToWorld matrix of the node. But just transforming
the _min and _max members by the matrix doesn't seem to give the right
results... (note that I don't care if the resulting bounding box is
axis-aligned - it could even be a bounding sphere)
So, what is the correct way to get the bounds?
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org