Re: [osg-users] [ANN] OpenMW: Announcing switch to OSG

2015-03-01 Thread Jacob Moen
Looking forward to seeing your progress :) OpenMW was the coolest project created with Ogre in my opinion, and could well be the coolest created with OSG as well. It definitely sounds like it is a better match for your project than Ogre was, even the new version 2. -- Read this

Re: [osg-users] referenced memory management across dlls/exe (Windows only)

2015-03-01 Thread Trajce Nikolov NICK
Thanks Sergey. I found that too. The problem was that the a core lib was keeping a ref_ptr of an Object allocated by a plugin from a dll. Then on clean I got this problem. I solved it by changing the ref_ptr to observer_ptr in the core lib. So I am good now. But BIG thanks for helping me. Ulrich,

[osg-users] writeNodeFile question

2015-03-01 Thread Clement.Chu
Hi, I have a question about using writeNodeFile to write volume image into file. Currently, my volume image is reading from external file. I would like to write whole osg scene data into file. Then I can use osgviewer or other viewer to load the file. My question is the output file does

Re: [osg-users] referenced memory management across dlls/exe (Windows only)

2015-03-01 Thread Ulrich Hertlein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Nick, On 28/02/2015 14:46, Trajce Nikolov NICK wrote: I am facing a problem with memory clean-up when mixing the place of allocation across dlls and the executable. Let say I have main executable that loads dlls (plugins) in which I

Re: [osg-users] referenced memory management across dlls/exe (Windows only)

2015-03-01 Thread Trajce Nikolov NICK
Thanks Ulrich. That is what is going on Sergey, where this flags go in the .pro file, in* QMAKE_CXXFLAGS* or *LIBS* ? Thanks a bunch Nick On Sun, Mar 1, 2015 at 12:49 PM, Sergey Kurdakov sergey.fo...@gmail.com wrote: Hi To link against shared libgcc, add -shared-libgcc to link against

Re: [osg-users] Custom CompositeViewer Events

2015-03-01 Thread Robert Osfield
Hi John, To add custom event handling there isn't normally a need to subclass from CompositeViewer and Geode. In snv/trunk and the OSG-3.3.x dev series there is now an osgGA::Event base class that you can subclass from. You can add your own events then inject them in the the View's EventQueue,

Re: [osg-users] referenced memory management across dlls/exe (Windows only)

2015-03-01 Thread Sergey Kurdakov
Hi To link against shared libgcc, add -shared-libgcc to link against shared libstdc++ add -lstdc++_s Regards Sergey On Sun, Mar 1, 2015 at 1:58 PM, Ulrich Hertlein u.hertl...@sandbox.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Nick, On 28/02/2015 14:46, Trajce

Re: [osg-users] referenced memory management across dlls/exe (Windows only)

2015-03-01 Thread Trajce Nikolov NICK
Hi Sergey, on my system with the latest from the Qt bundle I don't have the libstdc++_s ... only libstdc++.a and libstdc++-6.dll . And I added -lstdc++ and still getting the same issues. Any further hints? Thanks a lot Nick On Sun, Mar 1, 2015 at 1:07 PM, Trajce Nikolov NICK

[osg-users] Find out if a node is dirty

2015-03-01 Thread Stefan Zellmann
Hi, I wonder if there is a way to find out if a scene graph node was updated recently. Specifically, what I'd like to know is if geometry was updated, or if a transform node has changed. I am using the scene graph from within an application plugin, i.e. I cannot set things like callbacks or

Re: [osg-users] Custom CompositeViewer Events

2015-03-01 Thread John Farrier
robertosfield wrote: Hi John, To add custom event handling there isn't normally a need to subclass from CompositeViewer and Geode.   Robert, thanks for the tips. I've changed my solution as you have you suggested. However, the reason to subclass from Composite Viewer is because I see

[osg-users] Flipping images of an GIF osg::ImageStream

2015-03-01 Thread Paul
Using the ReaderWriterGIF.cpp plugin, I'm able to load and play animated GIF images. However, I need to flip the images vertically. I can only flip the first frame. Code: osg::ref_ptrosg::Image img = osgDB::readImageFile(image.gif); osg::ImageStream* imagestream =

[osg-users] Keyboard Manipulator and TrackballManipulator not playing nicely with each other.

2015-03-01 Thread Aviral Goel
Hi, I am trying to implement a KyeboardManipulator for translating, scaling and rotating 3D models via keyboard, similar to the TrackballManipulator. I am surprised that osg does not have this already. I wrote a keyboard manipulator class to at least zoom in and zoom out and translate the

[osg-users] Compiling osgVRPN

2015-03-01 Thread João
I understand that osgVRPN isn't an officially managed project, but I don't know where else to ask this. I'm currently trying to compile osgVRPN without success. CMake runs successfully, but I cannot build the project due to some files missing (namely libvrpn.a.lib). Does anyone know where I can

Re: [osg-users] Compiling osgVRPN

2015-03-01 Thread Alberto Luaces
João writes: I thought so too, considering I had to get a vrpn_Configure.h file from VRPN, but I cannot find that library after compiling VRPN. Could it be a static/shared issue? osgVRPN seems to look for a static version of the VRPN library (.a.lib). Or maybe you can rename your libvrpn.a

Re: [osg-users] Compiling osgVRPN

2015-03-01 Thread Alberto Luaces
João writes: I understand that osgVRPN isn't an officially managed project, but I don't know where else to ask this. I'm currently trying to compile osgVRPN without success. CMake runs successfully, but I cannot build the project due to some files missing (namely libvrpn.a.lib). Does anyone

Re: [osg-users] Compiling osgVRPN

2015-03-01 Thread João
I thought so too, considering I had to get a vrpn_Configure.h file from VRPN, but I cannot find that library after compiling VRPN. To: osg-users@lists.openscenegraph.org From: alua...@udc.es Date: Sun, 1 Mar 2015 18:43:43 +0100 Subject: Re: [osg-users] Compiling osgVRPN João writes: I

Re: [osg-users] Parameter incompatabilities

2015-03-01 Thread Robert Osfield
Hi Hartwig, On 1 March 2015 at 16:57, Hartwig Wiesmann hartwig.wiesm...@skywind.eu wrote: Therefore, it is possible to change the parameter types in these cases? That work break the API and backwards compatibility for everyone just to fix some benign warnings on one particular platform with

Re: [osg-users] referenced memory management across dlls/exe (Windows only)

2015-03-01 Thread Sergey Kurdakov
Hi Nick, after looking some more I found that newer versions of Mingw switch to dynamic linking of libstd++ by default. so libstdc++-6.dll is a right lib. but as you have the same problems then I have no answer. Regards Sergey On Sun, Mar 1, 2015 at 5:16 PM, Trajce Nikolov NICK