Hi,

Bounding sphere is not a drawable, but an osg::Sphere exist, so with you BS
radius and center, you can create a new Sphere to visualize your BS.
Careful to the transformation matrices when getting the center and radius.

Vincent.

2008/12/22 Francesco Argese <[email protected]>

> 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