Hi Robert, it indeed does work.... but when I try using it on a camera doing RTT it has no effect? basically what I do is:
m_rCamTex->GetCamera()->setInheritanceMask( m_rCamTex->GetCamera()->getInheritanceMask() & ~osg::CullSettings::LOD_SCALE ); m_rCamTex->GetCamera()->setLODScale( parameters.GetFloat(0) ); note: m_rCamTex->GetCamera() returns an osg::CameraNode* Am I missing something? Peter On Mon, Jun 23, 2008 at 10:10 AM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Peter, > > What you'll need to do is adjust the viewers Camera's LODScale as you > do the zoom i.e. > > viewer.getCamera()->setLODScale(scale); // scale = 1.0 is default > > Robert > > On Mon, Jun 23, 2008 at 8:12 AM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Hi users, > > > > In our application we are using txp file format from terravista. We have > a > > problem when zooming with the camera and level of details. Zooming in our > > application is done by changing the field of view.... and the problem is > > that > > the level of details used by txp is dependent on distance from the > camera. > > > > we don't seem to have any method to change the behavior of the txp lod, > so > > what I'm asking is.. does anyone know of any other technique we can use > to > > solve this problem? > > > > regards, > > Peter > > > > _______________________________________________ > > 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 >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

