Hi John,

I don't know enough about your app usage to really suggest very much,
but typical problems one might encounter with open and closing windows
is the scene graph holding handles to texture and display lists that
are no longer valid because your removed the graphics context they are
associated with.

The new osgViewer library does allow you to create and destroy windows
on the fly and it'll work to manage the context and display
lists/texture objects for you so consider using it.

Robert.

On 3/5/07, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote:



Hi All.

DatabasePager is giving me some trouble when I destroy a view and then
create a new view. It seems that something is mixed up, possibly my code. I
am trying to allow all views to share graphics context, but when I destroy
the document (the parent of all views) and create another, the databasepager
won't reload my paged earth and I somehow lose texture on the face that I
was viewing in the first instance. My question then is this: Can I create my
own database pager without paying heed to osgDB::Registry, or can I
completely destroy the osgDB::Registry's instance of database pager? As
always, your thoughts on this are greatly appreciated.

Sincerely,
John Argentieri
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to