Hi,

I'm experiencing some strange behaviour when the PagedLOD calculates the
PIXEL_SIZE_ON_SCREEN of the bounding sphere. I'm migrating this
functionality to osgjs and the values that I get in the OSG PagedLOD
implementation doesn't match with the values I'm expecting. And they seem
to be far from the real values of the pixel size on screen of the
projection of the bounding sphere.

I'm expecting to get the number of pixels that the bounding sphere occupies
in screen. Something like this
http://www.iquilezles.org/www/articles/sphereproj/sphereproj.htm . In fact
I've implemented that formula and it seems it gets the "real" values.

Maybe I do have misunderstood what PIXEL_SIZE_ON_SCREEN means. Do I?

Thanks.

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

Reply via email to