Yep. Thanks for the clarification.

This is why we have documentation: Reading the code isn't always clear.
   -Paul


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Robert Osfield
> Sent: Friday, November 09, 2007 2:22 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] CombineLODsVisitor
> 
> Hi Paul,
> 
> You've misread the code, if its a not a PageLOD then it's 
> handled, but if it is a PagedLOD then its ignored.  Have a 
> re-read through the if statement, I think a habit of 
> interpreting certain style of code and certain way has tripped you up.
> 
> Robert.
> 
> On Nov 8, 2007 6:29 PM, Paul Martz <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi Robert -- I'm confused by the CombineLODsVisitor at 
> Optimizer.cpp 
> > line 1498.
> >
> > The apply(LOD&) method doesn't do anything unless the LOD is a 
> > PagedLOD. Not sure why the code is written this way. The 
> combineLODs() 
> > method doesn't appear to be PagedLOD-specific, in fact 
> there's nothing 
> > about this algorithm that would appear to require PagedLODs 
> as far as I can tell.
> >
> > If apply(LOD&) really is PagedLOD-specific, then why not just use
> > apply(PagedLOD&) instead?
> >
> > Paul Martz
> > Skew Matrix Software LLC
> > http://www.skew-matrix.com
> > 303 859 9466
> >
> > _______________________________________________
> > 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-opensce
negraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to