Re: [osg-users] Viewer clean up on isle 4

2006-12-07 Thread Robert Osfield
f Robert Osfield Sent: Wednesday, December 06, 2006 16:37 To: osg users Subject: Re: [osg-users] Viewer clean up on isle 4 Hi Mike, On 12/6/06, Mike Wittman <[EMAIL PROTECTED]> wrote: > Hi Zach, > > Are you setting the graphics context ID when you create your viewer? > I was observ

RE: [osg-users] Viewer clean up on isle 4

2006-12-07 Thread Zach Deedler
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, December 06, 2006 16:37 To: osg users Subject: Re: [osg-users] Viewer clean up on isle 4 Hi Mike, On 12/6/06, Mike Wittman <[EMAIL PROTECTED]> wrote: > Hi Zach, > > Are you settin

Re: [osg-users] Viewer clean up on isle 4

2006-12-06 Thread Robert Osfield
Hi Mike, On 12/6/06, Mike Wittman <[EMAIL PROTECTED]> wrote: Hi Zach, Are you setting the graphics context ID when you create your viewer? I was observing similar symptoms until I explicitly did so. I just added this line after SceneView creation: sceneView->getState()->setContextID(osg::Gra

RE: [osg-users] Viewer clean up on isle 4

2006-12-06 Thread Mike Wittman
Hi Zach, Are you setting the graphics context ID when you create your viewer? I was observing similar symptoms until I explicitly did so. I just added this line after SceneView creation: sceneView->getState()->setContextID(osg::GraphicsContext::createNewConte xtID()); -Mike -Original Mess

Re: [osg-users] Viewer clean up on isle 4

2006-12-06 Thread Robert Osfield
Hi Zach, I have done some more work in the CVS version of the OSG to clean things up cleanly, you still need to manually call the clean up though. I don't have the source code to hand right now, tomorrow I'll unearth it and send an example along. Robert. On 12/6/06, Zach Deedler <[EMAIL PROTEC