[osg-users] Vec3Array instantiation

2016-04-07 Thread Vincent Majorczyk
Hello I'm trying to use osg:Vec3Array with a c++11 smart pointer instead of osg smart pointer. I aim to join two APIs: osg and another one using C++11 smart pointer. Apparently, this is a destructor problem: ~TemplateArray<>() is private, so an explicit delete doesn't work. I have test many

[osg-users] Qt5 QMdiArea

2015-08-18 Thread Vincent Majorczyk
Hi, I have tried to integrate the ViewerWidget (provided in the example 'osgviewerQt') to a QMdiArea, but this doesn't work. When the application start, I have empty 3D widgets. Nevertheless, popup windows works. Code: ViewerWidget* viewWidget = new ViewerWidget; viewWidget-createWindow();

Re: [osg-users] Qt5 QMdiArea

2015-08-18 Thread Vincent Majorczyk
Hi Émeric, thank you for your reply, I forgot to write that I'm trying this on Linux. Maybe it is an incompatibility problem. I've added the ViewerWidget class, inheriting from QWidget and encompassing the OSG root node, viewer and rendering thread (I'm no more using a QTimer) as member