Re: [osg-users] [build] Building OpenSceneGraph-3.3.4 with GDAL 2.0

2015-06-25 Thread Tony Vasile
Hi, I get a similar problem with GDAL 2.0 and the OpenSceneGraph 3.2.1 Code: home/avasile/src/OpenSceneGraph-3.2.1/src/osgPlugins/ogr/ReaderWriterOGR.cpp: In member function ‘virtual osgDB::ReaderWriter::ReadResult ReaderWriterOGR::readFile(const std::string, const

Re: [osg-users] Trouble with transitioning to OSG

2015-06-25 Thread Jan Ciger
On Thu, Jun 25, 2015 at 12:29 AM, sam brko...@gmail.com wrote: I thought that would be taken care of when I do: auto pos = osg::Vec3(relPos[0], relPos[2], relPos[1]); That should swap the Z accordingly? Or am I missing the boat on this one. Your matrices you using to assemble the bones need

[osg-users] resize an osgWidget::Window

2015-06-25 Thread Gianni Ambrosio
Hi All, is there a way to change width and height (non proportional) of a osgWidget::Window? I tried with resize (w, h) but it does not work, even if I call window-update() after resize. I found the implementation of callbackWindowScale where addScale is used. But in that case just one value

[osg-users] DEEP_COPY_ALL with node graph

2015-06-25 Thread Gianni Ambrosio
Hi All, I would like to know if this is an expected behaviour. I have node A with nodes B and C as children. B is in addition child of C. I make a copy of A with DEEP_COPY_ALL option but C-copy is not parent of B-copy. Regards, Gianni -- Read this topic online here:

Re: [osg-users] Memory leak with PrimitiveSets who stay alive

2015-06-25 Thread Robert Osfield
Hi Christian, I can't spot a problem with a quick read through, copy and paste code in isolation isn't sufficient to spot what might be wrong. As a general note the OSG ref counting is extremely robust, hammered by many thousands of developers in over a decade of it's existence, it's unlikely

[osg-users] Memory leak with PrimitiveSets who stay alive

2015-06-25 Thread Christian Kunz
Hi everyone, I have a big memory leak in my application. Generally I have n Spheres I put in my scene. When I add a Sphere a Drawable is added to the scene, when I remove it, it disapears. So the ref_ptr system is working good here. Now I want to connect all the Spheres with

Re: [osg-users] [build] Compile on Release error: LNK2001 OpenThreads::Atomic::operator++

2015-06-25 Thread Christian Kunz
Hi, I´m using cmake 3.1.0 to create my Visual Studio 2013 files, then I compile it. Can you explain in little more detail what I need to change or where to add ${OPENSCENEGRAPH_LIBRARIES}. I don´t find an option to check when I clicked generate in cmake. Or do I need to add this parameter in a

Re: [osg-users] [build] Building OpenSceneGraph-3.3.4 with GDAL 2.0

2015-06-25 Thread Tony Vasile
Hi, I have this patch so that it compiles but I don't have a ogr source file to test it against. But this allows OpenSceneGraph 3.2.1 to compile. ... Thank you! Cheers, Tony -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64190#64190 ---