Thanks Glenn, fix now merged and submitted to SVN.
On Thu, Jun 5, 2008 at 2:50 PM, Glenn Waldron <[EMAIL PROTECTED]> wrote: > Robert, > Here is the change. In apply(PagedLOD&): if the call to > _readCallback->readNodeFile() fails, it falls back to selecting the last > child of the PagedLOD instead. > > Glenn > > ---------- Forwarded message ---------- > From: Robert Osfield <[EMAIL PROTECTED]> > Date: Thu, Jun 5, 2008 at 9:31 AM > Subject: Re: [osg-users] IntersectionVisitor and PagedLODs - falling back on > lower resolution > To: OpenSceneGraph Users <[EMAIL PROTECTED]> > > > Hi Glenn, > > The IntersectionVisitor::accept(PagedLOD&) should fallback to a lower > res child when one is not available. If you've gone ahead and > implemented this missing code then please post it to osg-submissions > so I can review it. > > Cheers, > Robert. > > On Thu, Jun 5, 2008 at 1:56 PM, Glenn Waldron <[EMAIL PROTECTED]> wrote: >> Hi everyone, >> >> I'm using an IntersectionVisitor with a PagedLOD database, employing a >> ReadCallback to allow the intersector to traverse the paged nodes. I >> discovered that if the visitor is unable (for any reason) to load a >> subtile >> via the ReadCallback, the intersection fails. However, I had the >> requirement >> to "fall back" on the lower-resolution parent tile and settle for that >> intersection. >> >> This was easy to implement simply by overriding >> IntersectionVisitor::apply(PagedLOD). My question is: Are there any >> opinions >> on whether this should be the default behavior? If it makes sense, I will >> submit the change; if not, no worries. >> >> Glenn >> >> -- >> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791 >> _______________________________________________ >> 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 > > > > -- > Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791 > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
