Hi Fred,
Are you aware of RangeMode PIXEL_SIZE_ON_SCREEN in osg::LOD ?
it's not using the position on screen, but it is efficiently calculating the diameter of the bounding sphere in pixels on screen, and switches lod level on that basis.
Laurens.

On 6/1/2010 6:34 PM, Frederic Bouvier wrote:
Hi,

I am trying to implement a view dependent LOD scheme that needs the size and 
position of a drawable (or a node) on screen. A 2D bounding box could make the 
job. Is there something already done in OSG or should I continue to use 
unproject on vertices ?

Regards,
-Fred
_______________________________________________
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