Hi Laurens, and thank you for the hint. There are a lot of reason I should derive my nodes from osg::LOD (actually osg::PagedLOD) and this one is another good. FWIW, I want to improve this thing : http://www.youtube.com/watch?v=7WYH27KyUBk
Regards, -Fred ----- "Laurens Voerman" a écrit : > 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

