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-openscenegraph.org

Reply via email to