Re: [osg-users] GLWidget resizeEvent

2013-03-06 Thread Gianni Ambrosio
Hi Robert,
then there is something missing somewhere or a mistake from my side.

I derived from osgQT::GLWidget to have a QGLWidget to insert in my GUI.
When the application starts I basically add an osgWidget::Widget (or even a 
osgWidget::Label) to an osgWidget::WindowManager. The problem is that all 
widgets have a small size even if the resizeEvent implementation of 
osgQt::GLWidget is executed. Only when I resize the Qt window containing the 
osgQt::GLWidget and the resizeEvent in executed again, the widgets are 
correctly resized.
On the other side if I resize the Qt window before adding widgets to the 
osgWidget::WindowManager then, in this case, widgets are correctly shown 
immediately.

I'm sorry but at the moment I don't have a simple example.

Regards,
Gianni

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52960#52960





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] How to set a node invisible but not its children?

2013-03-06 Thread Lv Qing
Hi,

... 

It sounds strange,but sometimes I want to use setNodemask(0) to set a node 
invisible,but still want its children all visible.

Thank you!

Cheers,
Lv

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52962#52962





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] How to set a node invisible but not its children?

2013-03-06 Thread Sergey Polischuk
Hi

What you mean?
afaik, any node which have childrens dont have any visible geometry itself, 
it's either group or transfrom of some sort, it just show it's childrens

Cheers

06.03.2013, 14:42, Lv Qing donlvq...@msn.com:
 Hi,

 ...

 It sounds strange,but sometimes I want to use setNodemask(0) to set a node 
 invisible,but still want its children all visible.

 Thank you!

 Cheers,
 Lv

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=52962#52962

 ___
 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] Qt version for osg 3.0.1

2013-03-06 Thread Peter Wraae Marino
Hi,

Where can I find information about which Qt version is working with osg 3.0.1?

Thank you!

Cheers,
Peter

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52964#52964





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Qt version for osg 3.0.1

2013-03-06 Thread jamie robertson
Hi,

I've had no problems using Qt4.8 with 3.0.1, (Qt 5 wont work with it though).

Cheers,

jamie

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52965#52965





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Qt version for osg 3.0.1

2013-03-06 Thread Peter Wraae Marino

robertson1 wrote:
 Hi,
 
 I've had no problems using Qt4.8 with 3.0.1, (Qt 5 wont work with it though).
 
 Cheers,
 
 jamie


thanks.. I know that that Qt4.8 works... but my question was where can I see 
what version works with what I tried to use Qt5 and run into a bunch of 
problems... I would have like to save a days work if I can just read what 
version works with what.

regards,
Peter

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52966#52966





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [build] wrong libraries used in debug version for QT

2013-03-06 Thread Peter Wraae Marino
Hi,

fyi:

The osgviewerQt debug build is using release version of QT, which results in 
failure when you start the application. I change the libraries to debug and all 
looks well.

info:

OS: Windows 7
OSG: 3.0.1


Thank you!

Cheers,
Peter

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52967#52967





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org