Hi,

My 3d model is a number of nodes linked by PATs and a Group node right on top. 

So when I was going through the methods, I observed that the getBound() works 
only for nodes.

Then I also came across the computeBound() which can be used with Group nodes. 

Code:
virtual BoundingSphere osg::Group::computeBound         (                )      
 const [virtual]

Compute the bounding sphere around Node's geometry or children.

This method is automatically called by getBound() when the bounding sphere has 
been marked dirty via dirtyBound().

Reimplemented from osg::Node.



So I wasn't sure which is the method to go ? If I compute bounding spheres for 
each node that makes up my 3d model, can I link all of them so that I can check 
for proximity between another 3d model and this one ?

If any of the examples deal with something similar, I would be glad to go 
through that but I didn't know which one. 

Thank You

Sincerely,
Sanat

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





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

Reply via email to