Though I do not believe this problem to be limited to a particular
application, we are seeing this problem with our terrapage databases
produced through Terra Vista.
I'll try and see if our database group can produce a dataset that
exhibits this problem and can be released to the community with no
problems.
Ryan H. Kawicki
The Boeing Company
Training Systems & Services
Software Engineer
Phone: (314) 777-1654
________________________________
From: Evan Andersen [mailto:[email protected]]
Sent: Thursday, April 23, 2009 10:09 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] DBPager continuously reloading tiles
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
<[email protected]> wrote:
Hi Evan,
On Wed, Apr 22, 2009 at 10:05 PM, Evan Andersen
<[email protected]> 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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org