[osg-users] BoundingSphere with radius 0

Robert Osfield robert.osfield at gmail.com
Fri Mar 6 06:22:01 PST 2009


HI Martin,

Might I suggest you check the value of matrix, it might be that the scale is 0.

Robert.

On Fri, Mar 6, 2009 at 1:34 PM, Martin <grosser.martin at gmx.de> wrote:
> I have a geometry. But I updated the matrix in a thread:
>
> osg::Matrix matrix = new osg::Matrix;
>
> ((::osg::MatrixTransform*)_root.get())->setMatrix(matrix);
>
> _root is my MatrixTransform. And when I remove the line with "setMatrix" it works fine. When I use "setMatrix" my radius is 0.  [Crying or Very sad]
>
> Thanks
>
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=8034#8034
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list