HI Robert, no problem. the setLODScale was the help that was needed.. I know and can see that you are very *busy*... i'm actually amazed that you can reply to so many people, work on the scenegraph, update the website... you have full respect from me :)
about the snippets.. it's on purpose I only use snippets because I don't help in the form of a complete solution and neither should I waste your time looking at 10000 lines of code. I just posted the snippet in the hope that people get a rough idea of what I did and perhaps have had the same problem before. anyway... Robert I appreciate all that you have done. kind regards, Peter On Mon, Jun 23, 2008 at 1:59 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > 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 > >> > [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 > > > > > _______________________________________________ > 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

