Hi

A bounding sphere is not there to be displayed it is there to be used for
quick culling operations, it is NOT a scene graph component, it describes a
loose bounding sphere around that encompasses the node and an children of
the node, it basically an XYZ and a radius.

If you want to display this then you will have to write code, you could use
an osg::Sphere and add that to the parent of the node you want show a
bounding sphere for. Note that osg::Sphere itself is not really intended to
be used this way, but will get you started

________________________________________________________________________

Capture the magic of Christmas this year see http://www.capturethemagic.com
____________________________________________________________________________
__
Gordon Tomlinson 

[email protected]
IM: [email protected]
www.vis-sim.com www.gordontomlinson.com 
____________________________________________________________________________
__

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Francesco
Argese
Sent: Monday, December 22, 2008 9:07 AM
To: OpenSceneGraph Users
Subject: [osg-users] is possible to display a Bounding Sphere?

Hi all,

i have a doubt: is it possilble to display a bounding sphere in
wireframe mode? I have seen that the class Bounding Sphere doesn't
iherite from osg::Node so i don't know how to add it to the
scenegraph.

Thanks in advance
Francesco Argese
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

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

Reply via email to