Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-10-31 Thread Roman Grigoriev
Hi, I try also follow advice to make model on first tab visible but on ubuntu 12.10 qt 4.8.3 and osg svn It doesn't work I modify event method like this Code: virtual bool event( QEvent* event ) { if (event-type() == QEvent::Timer) { if (static_castQTimerEvent*(event)-timerId() == _timerId) {

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-09-11 Thread Lucas SART
Thanks a lot, with your tip it works ! Alistair Baxter wrote: -Original Message- From: [mailto:] On Behalf Of Lucas SART Sent: 07 September 2012 11:08 To: Subject: Re: OSG + QT and QTabWidget: Disappearing scene graph Hi, I had looking for why it doesn't work. It

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-09-07 Thread Lucas SART
Hi, I had looking for why it doesn't work. It seems that the first tab camera projection matrix and view matrix are not valid (components = -1.#IND) and I don't know why. I tryed to look into OSG code but I don't found what is wrong... If someone have an idea it would be great !

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-09-07 Thread Alistair Baxter
-Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Lucas SART Sent: 07 September 2012 11:08 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-09-07 Thread Roman Grigoriev
under qt 5.0.0beta1 - it doesn't work I've got this error Qt at-spi: error getting the accessibility dbus address: The name org.a11y.Bus was not provided by any .service files Accessibility DBus not found. Falling back to session bus. Registered DEC: true Error in contacting registry

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-09-07 Thread Roman Grigoriev
PS if I use singlethreaded I got errors QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined -- Read this topic online here:

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2012-09-06 Thread Lucas SART
jlouis2k4 wrote: Hello Robert, Thank you for that example. It works great when I use the QTabWidget instead of the QGridLayout. However there is a problem that the first node (In the first tab) Does not show when the program is run. I can open the other tabs and see the nodes in all of

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2011-09-12 Thread Joseph Louis
Hello Robert, Thank you for that example. It works great when I use the QTabWidget instead of the QGridLayout. However there is a problem that the first node (In the first tab) Does not show when the program is run. I can open the other tabs and see the nodes in all of them. Am I missing

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2011-09-06 Thread Robert Milharcic
...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Joseph Louis Sent: Tuesday, September 06, 2011 1:10 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph Hi Angus, I am trying to do the same

Re: [osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2011-09-05 Thread Joseph Louis
Hi Angus, I am trying to do the same with my program but the scene does not even appear in any of the tbs. I am also using the osgviewerQT example. Were you able to get your's to work? Thank you! Cheers, Joseph -- Read this topic online here:

[osg-users] OSG + QT and QTabWidget: Disappearing scene graph

2010-12-02 Thread Angus Lau
Hi, I am trying to build a Qt application with multiple independent OSG scene graphs, each of which in it's own tab in a QTabWidget. I am using the osgViewer::Viewer (not osgViewer::CompositeViewer) version of the adapter widget from the osgviewerQT example. Each tab has an instance of the