Hey, How can I do the contextID incrementation?
On 12/17/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > Hi Shoham, > > The issue you have is that the scene graph has holds internal ID's for > all the texture objects and display lists, you've deleted the graphics > context undernearth it so these ID are no longer valid, but the scene > graph doesn't know that they are invalid so when it dispatches them to > OpenGL then just match up to gargbage. > > OSG 2.x has support for cleaning the scene graph from these now > invalid ID's but 1.0 doesn't. So you only recourse is to increment > the contextID for the new context. Or.. just upgrade to 2.2 > > Robert. > > On Dec 17, 2007 1:59 PM, Shoham Ben-Har <[EMAIL PROTECTED]> wrote: > > Hey.. > > > > I'm using OSG 1.0 (I know It's little bit old...) > > I using VS2005 in c# application and using manage c++ layer between the > GUI > > and the OSG window. > > When I first run my app I draw lines and osgText to the window. and all > > seems to work fine. > > Then I close the OSG form (not the application) and after I try to open > > again with different win32 HWND, > > I see the lines fine BUT in stand of the numbers I draw in osgText (the > ones > > I saw good at the first run) I see quad polygons !!! > > > > > > please help... > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org