Re: [osg-users] Multitouch OSG and Qt

2016-06-02 Thread Christian Kunz
Hi, I have now tested the solution and also a newer Version of OSG 3.4.0. The problem is that it looks like that the touch input is not correctly forwarded to OSG. Touch with one finger is ok -> like you would use left mouse on TrackballManipulator. Rotate in scene, fixed rotation point. Zoom

Re: [osg-users] Multitouch OSG and Qt

2016-05-11 Thread Christian Kunz
Hi, yes there is the CameraManipulator MultitouchTrackBallManipulator. In a normal scene this is working relatively goog. The problem is that there are no Touch events forwarded to the OSG scene within GraphicsWindowQt. In the link above someone implemented this in OSG. I will try it out. and i

[osg-users] Multitouch OSG and Qt

2016-05-11 Thread Christian Kunz
Hello, I have a Qt application with an integrated OSG scene. I use the standard example with "GraphicsWindowQt". The problem is that Multitouch events are not working. I guess thats because they are not forwarded to the Qt-Widget which holds the OSG scene. I found a solution here: https://group

[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

[osg-users] [vpb] 3rd Party Tools not available

2016-03-10 Thread Christian Kunz
Hi, the download Links to the 3rd Party Tools is not working anymore: http://www.openscenegraph.org/index.php/download-section/dependencies e.g.: http://download.osgvisual.org/3rdParty_VS2013_v120_x86_x64_V9_full.7z Is a new location present where they can be downloaded? Thank you! Cheers, C

[osg-users] OSG documentation for osgAnimation

2015-11-04 Thread Christian Kunz
Hi all, at the moment I try to implement animations with OSG. I can`t find much documentation, e.g. how to use osgAnimation::Vec3CubicBezierSampler to define an animation path. There are examples and recipes in the 3 books. OSG is a great project and I really enjoy using it but I come often to

[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 osg::PrimitiveSet:

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

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

2015-06-24 Thread Christian Kunz
Hi everyone, I try to build a release version of my program with Qt Creator. In debug mode everything compiles just fine. But when I switch to Release mode I got several of these errors: robotnodecallback.obj:-1: error: LNK2001: unresolved external symbol ""__declspec(dllimport) public: unsigned

Re: [osg-users] prog crashes sometimes with error in ot20-OpenThreadsd.dll

2015-06-23 Thread Christian Kunz
Hi, I found the solution on my own. For anyone who is interested in the topic, here is the solution: The problem was that i checked the option "BUILD_OPENTHREADS_WITH_QT" in the cmake options. If that option is not set active and everything is recompiled, the error does not appear anymore. ..

[osg-users] prog crashes sometimes with error in ot20-OpenThreadsd.dll

2015-06-18 Thread Christian Kunz
Hi, I'm using OSG 3.2.2 with Qt 5.4.1. Compiler is VS2013. To integrate into QtWidget I used a tutorial code, shown beneath. The program crashes very often when I start it. I would say 8 of 10 tries. When the program has started correctly everything is working fine. I had the same problem on an

[osg-users] Cast Drawable to ShapeDrawable

2015-06-02 Thread Christian Kunz
Hi everyone, I want to pick a geometry object in 3D-Space, e.g. a cylinder. I use a LineSegmentIntersector to do so. Actually this is working fine. I can call Code: result.drawable.get(); on Code: const osgUtil::LineSegmentIntersector::Intersection& result = *(intersector->getIntersect

[osg-users] Using Draggers, lack of documentation

2015-05-18 Thread Christian Kunz
Hi everybody, I'm still new to OpenSceneGraph and at the moment I come very often to a point where I just don´t know where I can find Information that I need to solve a problem. For example: At the moment I have a big table in my scene where I want to select a point on the surface and then I w

Re: [osg-users] [3rdparty] Qt Form integration

2015-04-15 Thread Christian Kunz
Hi Alistair, thanks for your reply. Your solution seems way easier. Do you have an example how to do that? ... Thank you! Cheers, Christian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63404#63404 _

[osg-users] [3rdparty] Combining OSG and Qt 5.4 architecture

2015-04-15 Thread Christian Kunz
Hello everyone, I have a question regarding the combination of OSG and Qt 5.4. I already combined my OSG application with Qt. I used the example which is shipped with OSG: "osgviewerQt". At the moment my OSG application is quite simple. Its a 3D scene with a animated 6 axis robot. I added my ro

Re: [osg-users] [3rdparty] Qt Form integration

2015-04-14 Thread Christian Kunz
Hi, I´m also interested in this topic. Is there a way to use the forms editor of the qt creator to display and integrate a OSG Scene? Link seems to go on the same thread...? I already looked into the example osgviewerQt. Has anyone a link to deeper examples of Qt and OSG integration? ... T