[osg-users] Mac OSX code signing and osgPlugins dir

2016-04-07 Thread Alistair Baxter
When building our application for mac, and trying to run the code signing tool, it is currently choking on the name of the plugin directory within the app bundle. It would seem that it objects to the period characters (i.e. full stops) in Contents/Plugins/osgPlugins-3.4.0 . If I change it to

[osg-users] Clipping planes and osgVolume

2016-04-07 Thread Alex Taylor
I'm getting started with working on putting together a UI where a user can interactively control clipping planes when displaying a volume rendering created using the osgVolume nodekit. I was wondering how this might interact with RayTracedTechnique and ran into this:

[osg-users] Strange Crashes as Release Build + Visual Studio 2013 + Qt 5.4 OpenThreads issue?

2016-04-07 Thread Christian Kunz
Hi, Environment: Visual Studio 2013 with Update 5 OSG 3.2.1 Qt 5.4 I have a strange behaviour when I try to start a Release Build. In 50% the exe crashes, something in ntdll.dll. I use a OSG Scene integrated in a Qt GUI. I use it as SingleThreaded, because of the known problems wit Qt 5.x and

Re: [osg-users] Mac OSX code signing and osgPlugins dir

2016-04-07 Thread Alistair Baxter
Initial experiments suggest renaming the original plugin dir and creating a symlink with the name with periods in may work. From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Alistair Baxter Sent: 07 April 2016 16:46 To: osg-users@lists.openscenegraph.org Subject:

[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

Re: [osg-users] [build] CMake 3.5.1 and OSG

2016-04-07 Thread Laurent Berger
Hi, Thanks you for your answer. I think I have solved my problem. In cmake I have unchecked option OSG_MSVC_VERSION_DLL and now all my lib are nemed osglib without version number. Cheers, Laurent -- Read this topic online here:

Re: [osg-users] Vec3Array instantiation

2016-04-07 Thread Sebastian Messerschmidt
Hi Vincent, 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

Re: [osg-users] Vec3Array instantiation

2016-04-07 Thread Christian Buchner
the osg::ref_ptr<> could be wrapped into a smart pointer, right? But what's the point ;) 2016-04-07 10:33 GMT+02:00 Sebastian Messerschmidt < sebastian.messerschm...@gmx.de>: > Hi Vincent, > >> Hello >> >> I'm trying to use osg:Vec3Array with a c++11 smart pointer instead of osg >> smart

Re: [osg-users] Vec3Array instantiation

2016-04-07 Thread Filip Arlet
Hi, Simply you can't do it. They are completle different smart pointers. shared_ptr has outside reference counting and ref_ptr has inside reference counting in osg::Referenced class. Basically you would need to call ref() everytime you create or copy shared_ptr and call unref()