[osg-users] Understanding osg::CullingSet::computePixelSizeVector

Alok Priyadarshi alokpr at gmail.com
Wed Sep 5 08:20:09 PDT 2007


Hi Mathieu,
Thanks for your reply. Yes I did figure out that it is 1/sqrt(2). But
I still cannot figure out what Sqrt(2)/2 is doing there. Does the
function return scaled radius or diameter?

Thanks for your help.
-Alok

On 9/5/07, Mathieu MARACHE <mathieu.marache at gmail.com> wrote:
> Hi
>
> Sqrt(2)/2=0,707106781
>
> HTH
>
> 2007/9/5, Alok Priyadarshi <alokpr at gmail.com>:
> > Hi Robert,
> >
> > I understand every parameter in the function
> > osg::CullingSet::computePixelSizeVector, except the 0.7071067811f
> > factor. Could you please explain where you are getting this from?
> >
> > Also, what is the CullingSet::setSmallFeatureCullingPixelSize,
> > diameter or radius of the bounding sphere?
> >
> > Thanks a lot.
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
> --
> Mathieu
> _______________________________________________
> 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