Hi Abhinav,

There isn't any way to know what is wrong with the details you've given.

For starters what you you mean by "unload the project"?  Do you mean
scene graph?  How might you be "unloading" it.

Robert.

On 15 October 2012 12:12, Abhinav <[email protected]> wrote:
> Dear All,
>
>
>
> I have an application which has the project loading and unloading support.
> Sometimes when I unload the project
>
> It crashes inside createHeightField inside database pager thread.  To
> resolve the issue, I am disabling the database pager when I am unloading the
> Project.
>
>
>
> This is how I am unloading the project
>
> if(_view)
>
>             {
>
>                   osgDB::DatabasePager *pager = _view->getDatabasePager();
>
>                   if(pager)
>
>                   {
>
>                         pager->setAcceptNewDatabaseRequests(false);
>
>                         pager->cancel();
>
>                         pager->clear();
>
>                   }
>
>             }
>
>
>
> Now When the new project loads, I start the database pager as
>
>             if(_view)
>
>             {
>
>                   osgDB::DatabasePager *pager = _view->getDatabasePager();
>
>                   if(pager)
>
>                   {
>
>                         pager->registerPagedLODs(getOSGNode());
>
>                         pager->setAcceptNewDatabaseRequests(true);
>
>
>
>                         _dirty = true;
>
>                   }
>
>             }
>
>
>
> But Starting is not working properly. I am seeing artifacts when I zoom in
> to the earth. Globe is not smooth
>
> rather I can see the sharp edges.
>
>
>
> Am I missing something to start the database pager?
>
>
>
> Please help me out.
>
>
>
> Thanks and Regards
>
> Abhinav Goyal
>
> 3D Engineer
>
> VizExperts
>
>
>
>
> _______________________________________________
> 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