[osg-users] Safely loading paged databases at runtime

2009-03-23 Thread Jason Beverage
Hi Robert, I've been working with loading and unloading different osgEarth files at runtime (such as from a File | Open menu) using OSG and have found that I need to take special care to make sure that the DatabasePager is not working on a loaded node before removing it and replacing it with a

Re: [osg-users] Safely loading paged databases at runtime

2009-03-23 Thread Robert Osfield
Hi Jason, Normally the DatabasePager works on loaded scene graph that are entirely independent from the main scene graph and these subgraphs are only merged with the main scene graph when the main frame loop calls the update on the DatabasePager to merge any new tiles, remove expired ones. The

Re: [osg-users] Safely loading paged databases at runtime

2009-03-23 Thread Jason Beverage
Hi Robert, Ha, I was just getting ready to reply to you saying I've found the issue:) That was exactly it, switching over to using using a ref_ptr within the ReaderWriterOSGEarth plugin for the cached TileBuilder objects seems to have fixed my issue. Thanks! Jason 2009/3/23 Robert Osfield

Re: [osg-users] Safely loading paged databases at runtime

2009-03-23 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
...@lists.openscenegraph.org] On Behalf Of Jason Beverage Sent: Monday, March 23, 2009 11:01 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Safely loading paged databases at runtime Hi Robert, Ha, I was just getting ready to reply to you saying I've found the issue:) That was exactly it, switching over