Hi Peter, I'm afraid I can only point you in what I think it probably in the right direction, I can't get my head around all your code, especially given tiny snippets of code out of context and I am *busy*.
Robert. On Mon, Jun 23, 2008 at 12:54 PM, Peter Wraae Marino <[EMAIL PROTECTED]> wrote: > 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 >> > osg-users@lists.openscenegraph.org >> > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >> > >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org