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 > > >

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 ! H

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 al

Re: [osg-users] Cullcallback and sub camera

2010-05-19 Thread Lucas SART
if you want to see the effect : http://www.megaupload.com/?d=X6A0H1NK Thanks =) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28041#28041 ___ osg-users mailing list osg-users@lists.openscenegraph.or

[osg-users] Cullcallback and sub camera

2010-05-19 Thread Lucas SART
Hi, I am doing a render to texture system that have to take several screenshots at different location without changing the main view frame. In the scene there is a lot of Node that are affected by the camera position, so to update them I use cullcallback (osgUtil::CullVisitor::getCurrentCamera(

[osg-users] problem with transparency on rtt screenshot

2010-05-17 Thread Lucas SART
Hi, I still have problems with a rtt camera use for screenshot. Without transparency it works fine, but when I try to save my screenshot in png (GL_RGBA) format I have problems with the transparency particulary when I set the diffuse of a material different to 1 I have a strange result only on

Re: [osg-users] Problem with render to texture and HUD (freeze)

2010-05-07 Thread Lucas SART
Somebody knows a means to make it work by leaving the render order on "POST_RENDER", because it cause me some problems (particullary with the stats hud wich don't work in "NESTER_RENDER") ? Thanks -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27

Re: [osg-users] Problem with render to texture and HUD (freeze)

2010-05-06 Thread Lucas SART
up please :/ -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27606#27606 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegr

Re: [osg-users] Problem with render to texture and HUD

2010-05-05 Thread Lucas SART
I have made some investigation, the hud that make the software freeze contains objects with a "DYNAMIC" data variance. I'am able to reproduce the freeze with a little code. Can somebody tell me what's wrong please ? osgBuilder.cpp : Code: #include "osgBuilder.h" voidcowUpdateCallback::ope

[osg-users] Problem with render to texture and HUD

2010-05-04 Thread Lucas SART
Hi, I have got some troubles with a RTT camera and HUD camera. My scene seems like : _rootView / \ / \ RTTCam _rootParent \ / root

[osg-users] Taking a screenshot using RTT

2010-04-23 Thread Lucas SART
Hi, I have some problems with render to texture, I made a code and I don't understand why it didn't work. I try to take a screenshot with a render to texture. This is my code the first part : Code: int osgBuilder::start() { osg::ref_ptr viewer = new osgViewer::Vie