Re: [osg-users] Vector Iterator getting Invalidated in OSG

2013-02-23 Thread Abhishek Bansal
Hi, Ok I tried setting osg::NotifyLevel to DEBUG_INFO but its not giving any error. Please give me some direction to look at. Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52831#52831

Re: [osg-users] Vector Iterator getting Invalidated in OSG

2013-02-23 Thread Robert Osfield
Hi Abhishek, The thread safety provided by the OSG isn't quite what you are assuming, just setting the DataVariance to DYNAMIC only affects whether the update, event and cull traversals of the current frame can be run multi-thread the draw traversal of the previous frame, and this hint is only

Re: [osg-users] Vector Iterator getting Invalidated in OSG

2013-02-23 Thread Abhishek Bansal
Hi Robert, Thank You for your reply ! So you mean that I should not update my scenegraph from a different thread than viewer. I can only do these updations in my main thread during update and event traversals right ? robertosfield wrote: Hi Abhishek, So... you'll need to take a step back

[osg-users] setUpViewInWindow fails to create graphics context if laptop not docked

2013-02-23 Thread Joshua Cook
I'm working on a 3D simulation project that runs like a dream on my boss's desktop and on my laptop when it is docked and has my two work monitors connected. However, I decided to work from home today so tried to run the project on the laptop without the dock. Before I left work yesterday

Re: [osg-users] setUpViewInWindow fails to create graphics context if laptop not docked

2013-02-23 Thread Joshua Cook
The call to setNumMultiSamples is the culprit. When I was working yesterday the multisample number was set at 16 and worked fine. Today, after I found I was having an issue, I started moving the call to realize and run the viewer down the setup routine to see what might be causing the

Re: [osg-users] setUpViewInWindow fails to create graphics context if laptop not docked

2013-02-23 Thread Chris Hanson
Is this a hybrid laptop that has both an NVidia and an Intel graphics chipset/ When un-docked, it may be switching back to the Intel by default. On Sat, Feb 23, 2013 at 9:33 AM, Joshua Cook countryartis...@gmail.comwrote: The call to setNumMultiSamples is the culprit. When I was working