Thanks Evan, with your example I'm able to see the problem when
browsing http://www.openscenegraph.org/data/earth_bayarea/earth.ive.
I'll now dig into the DatabasePager to see what is up.

On Thu, Apr 23, 2009 at 4:08 PM, Evan Andersen <andersen.e...@gmail.com> wrote:
> Robert,
>
> Here's a simple viewer I wrote that does non-continuous render and exhibits
> the problem.  You can just run it like the osgviewer application, passing in
> the path to a database on the command line.  I have also included a stats
> handler that will cause the app to switch to continuous render while it is
> onscreen.  I have only tested this with osgEarth, so I don't know if the
> problem manifests itself with VPB databases.  The reloading problem wouldn't
> manifest itself when I ran an animation path because playing back the
> animation essentially caused continuous rendering, but if you load an earth
> database and move around a bit in the scene you should see the behavior.  I
> can get it to happen pretty reliably when I load the yahoo satellite images
> using osgEarth, then quickly zoom in on an area that I have cached.  When I
> stop zooming and zoom back out or pan around, the tiles start reloading.  I
> had a co-worker try this out and he was able to duplicate the problem pretty
> quickly, so hopefully it will happen easily for you too.
>
> Evan
>
>
> On Thu, Apr 23, 2009 at 2:14 AM, Robert Osfield <robert.osfi...@gmail.com>
> wrote:
>>
>> Hi Evan,
>>
>> On Wed, Apr 22, 2009 at 10:05 PM, Evan Andersen <andersen.e...@gmail.com>
>> wrote:
>> > Ryan,
>> >
>> > Thank you for the suggestion.  When I call
>> > setTargetMaximumNumberOfPagedLOD(0) on the database pager, as you
>> > suggested
>> > and then set the expiry delay to DBL_MAX and the expiry frames to 10, as
>> > Jason Suggested the problem seems to go away.  I'm not really sure why
>> > this
>> > works.  It seems like the default behavior should work in my usage case,
>> > but
>> > at least it is working now.
>>
>> Could you modify one of the OSG examples to reproduce your application
>> usage style and use this to recreate the problem.  I could then have a
>> look at why the new (and now default) expiry scheme is not working
>> correctly.  As you say it should work, at present I don't know why the
>> old scheme is able to work.
>>
>> Robert.
>> _______________________________________________
>> 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

Reply via email to