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