[osg-users] BoundingSphere with radius 0

Martin grosser.martin at gmx.de
Fri Mar 6 04:19:04 PST 2009


Hello,

I have a little Subgraph with a MatrixTransform and a Node. Now I need the BoundingSphere. But when I do ...

osg::BoundingSphere boundingSphere=matrixTransform->GetNode()->getBound();
double distance = boundingSphere._radius;

...than is the "distance" = 0, but I don't know why.

What can be the problem? And can I do a new bounding sphere calculation?

Thanks,

Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8031#8031








More information about the osg-users mailing list