Re: [osg-users] OSG 3.2.1

2016-09-17 Thread kyungsoo hong
Hi Michael, I got same issues then I fixed like below. it seems namespace of boost asio was changed from asio:: to boost::asio:: so put 'boost::' in front of asio:: if you encountered asio::error_code, change boost::system::error_code ... Thank you! Cheers, kyungsoo -- Read

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2016-03-04 Thread Wojtek Kowalski
Hi, Thanks, but I still have another problem !!! I have 2 dockwidgets in my qmainwindow: qtosg and vlc-qt. when I play movie in the second dockwidget, the first one(QT&tOSG) becomes black! :( Cheers, Wojtek -- Read this topic online here: http://forum.openscenegraph.org/viewtopi

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2016-03-04 Thread Pierre-Jean Petitprez
Hi Wojtek, When using this code I get the same result as you, the StatsHandler camera doesn't display on top of the other cameras. I guess it comes from the hack that makes the main camera render last or something like that. My hack was to add the StatsHandler camera into my own scene graph so

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2016-02-19 Thread Wojtek Kowalski
Hi, After changing Code: void RenderStageEx::drawInner(osg::RenderInfo& renderInfo, osgUtil::RenderLeaf*& previous, bool& doCopyTexture) I lost 's' key - stats handler stopped working, looks like problem with another camera. Any help? Cheers, Wojtek -- Read this topic o

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2016-02-15 Thread Wojtek Kowalski
Hi, Can, could You please post your code? Thank you! Cheers, Wojtek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66279#66279 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://l

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-18 Thread John Vidar Larring
Hi Can, Have you posted / published you full example yet? If so could you reply with a link? Thanks in advance. Best regards, John On Mon, Aug 3, 2015 at 4:57 PM, Can Olcek wrote: > Hi Sebastian, > > I have almost completed the example. My original implementation is a > little bit complex than

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-03 Thread Sebastian Messerschmidt
Hi Pierre, Hi Sebastian, I use Qt 5 and OSG 3.2.1 with no problem passing the key events from Qt to OSG. In your Qt widget subclass you'll have a method which gets the key events: void keyPressEvent(QKeyEvent* e) { const char *keyData = e->text().toLatin1().data(); gw->getEventQueue

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-03 Thread Pierre-Jean Petitprez
Hi Sebastian, I use Qt 5 and OSG 3.2.1 with no problem passing the key events from Qt to OSG. In your Qt widget subclass you'll have a method which gets the key events: void keyPressEvent(QKeyEvent* e) { const char *keyData = e->text().toLatin1().data(); gw->getEventQueue()->keyPress(o

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-03 Thread Sebastian Messerschmidt
Am 03.08.2015 um 16:57 schrieb Can Olcek: Hi Sebastian, I have almost completed the example. My original implementation is a little bit complex than this. Thanks to the couple of private replies and discussion, I will post it tomorrow. But for keyboard inputs, I'm using an event filter. Oka

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-03 Thread Can Olcek
Hi Sebastian, I have almost completed the example. My original implementation is a little bit complex than this. Thanks to the couple of private replies and discussion, I will post it tomorrow. But for keyboard inputs, I'm using an event filter. Something like this: Code: class QInputFilte

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-03 Thread Trajce Nikolov NICK
Hi Sebastian, I am not using Qt but faced the same problem. So here is a 'hack' for Windows if it helps: osgViewer::CompositeViewer::Windows wins; viewer->getWindows(wins); while (!viewer->done()) { #if defined(_WIN32) MSG msg; if (::PeekMessage(&msg,NULL,0,0,PM_

Re: [osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-08-03 Thread Sebastian Messerschmidt
Hi Can, Have you created a full code example yet? My problem right now is the lack of keyboard events being passed through to OSG. Any hints on this? Cheers Sebastian Hi, I have been working Qt5 integration for my current rendering application implementing deferred rendering and came up wit

[osg-users] OSG 3.2.1 and Qt5 Widget integration

2015-07-22 Thread Can Olcek
Hi, I have been working Qt5 integration for my current rendering application implementing deferred rendering and came up with couple of solutions. I want to share it with the people struggling Qt5 integration while waiting official stable release :) Since the current stable release is OSG 3.2.

Re: [osg-users] OSG 3.2.1

2014-12-15 Thread Michael W. Hall
My bad Robert. No I do not need it and I am on Ubuntu 14.04. I tried to see where to turn it off with no luck. Michael On Sun, 2014-12-14 at 20:14 +, Robert Osfield wrote: > Hi Michael, > > I am away from my dev machine right now so can't look into things in > detail. > > Do you need the

Re: [osg-users] OSG 3.2.1

2014-12-14 Thread Robert Osfield
Hi Michael, I am away from my dev machine right now so can't look into things in detail. Do you need the RestHttp plugin? What platform are you compiling on? Robert On 14 Dec 2014 16:36, "Michael W. Hall" wrote: > I just thought I would upgrade to the lastest version of OSG. I am sure > thi

[osg-users] OSG 3.2.1

2014-12-14 Thread Michael W. Hall
I just thought I would upgrade to the lastest version of OSG. I am sure this question has been answered, but I have not found the answer in my searching. CCMake reported that the ASIO_INCLUDE_DIR - was not found. I installed libboost-all-dev, and set the directory to the location. That seemed to

Re: [osg-users] OSG 3.2.1 osgviewerWX not showing up in Visual Studio solution and proposal to remedy the situation

2014-09-29 Thread Robert Osfield
Hi Émeric, On 29 September 2014 16:08, Émeric MASCHINO wrote: > Indeed, you've made the changes in rev. 12838 but the logs aren't that > explicit ;-) > I *merged* the changes, I didn't write them. Maybe was it a transient problem with an old wxWidgets release? For > records, I'm building again

[osg-users] OSG 3.2.1 OpenEXR plug-in incorrectly links against Release zlib.lib in Debug target

2014-09-29 Thread Émeric MASCHINO
Hi, On Windows platform, the OSG 3.2.1 OpenEXR plug-in incorrectly links against both the Debug and Release version of zlib[d].lib in Debug target. Looking at src\osgPlugins\exr\CMakeLists.txt, shouldn't the directive at ln. 5 simply read: SET(TARGET_EXTERNAL_LIBRARIES ${OPENEXR_LIBRARIES})

[osg-users] OSG 3.2.1 DICOM plug-in incorrectly links against Release zlib.lib in Debug target

2014-09-29 Thread Émeric MASCHINO
Hi, On Windows platform, the OSG 3.2.1 DICOM plug-in incorrectly links against both the Debug and Release version of zlib[d].lib in Debug target. Looking at src\osgPlugins\dicom\CMakeLists.txt, shouldn't the directive at ln. 8 simply read: LINK_LIBRARIES(${DCMTK_LIBRARIES}) rather than:

Re: [osg-users] OSG 3.2.1 osgviewerWX not showing up in Visual Studio solution and proposal to remedy the situation

2014-09-29 Thread Émeric MASCHINO
Hi Robert, Indeed, you've made the changes in rev. 12838 but the logs aren't that explicit ;-) Anyway, I've checked that without the guard, both de Debug and Release versions of osgviewerWX[d]: - successfully build; - link only against Debug or Release libraries (including the wxWidgets ones); -

Re: [osg-users] OSG 3.2.1 osgviewerWX not showing up in Visual Studio solution and proposal to remedy the situation

2014-09-25 Thread Robert Osfield
Hi Émeric, My guess is that check against build type had to be added to work around problems under Windows with mixing release and debug libraries in the context of WxWidgets. Have a check of the svn logs for the submission that added this workaround, it might give some more insight to why it exi

[osg-users] OSG 3.2.1 osgviewerWX not showing up in Visual Studio solution and proposal to remedy the situation

2014-09-25 Thread Émeric MASCHINO
Hi, Even though I've correctly set up my wxWidgets environment, the osgviewerWX example isn't added to my OSG 3.2.1 Visual Studio solution. Looking at the examples\CMakeLists.txt file, I've noticed that osgviewerWX inclusion is guarded against wxWidgets_FOUND (obviously) but also against CMAKE_BU

Re: [osg-users] OSG 3.2.1 QuickTime plug-in doesn't compile on Windows

2014-09-24 Thread Émeric MASCHINO
Hi Robert, > Apple likes moving the goal posts on all it's API which makes it difficult > to compile on all variants of their API's all the time. I've no problem with this. I only wanted to be sure that the breakage with the QuickTime plug-in on Windows is under control and expected. As for the

Re: [osg-users] OSG 3.2.1 QuickTime plug-in doesn't compile on Windows

2014-09-24 Thread Robert Osfield
Hi Émeric, Apple likes moving the goal posts on all it's API which makes it difficult to compile on all variants of their API's all the time. Under Windows you can use the native directshow plugin or the ffmpeg plugin. Robert. On 23 September 2014 23:10, Émeric MASCHINO wrote: > Hi, > > Just

[osg-users] OSG 3.2.1 QuickTime plug-in doesn't compile on Windows

2014-09-23 Thread Émeric MASCHINO
Hi, Just to be sure: is it expected that the OSG 3.2.1 QuickTime plug-in doesn't compile on Windows (lots of errors in MacTypes.h for example) with the latest QuickTime 7.3 SDK for Windows? Am I right to suppose that the codebase has been updated to build on OS X with today's QuickTime/QTKit, but

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-11 Thread Björn Blissing
Hi, Working together (me and Felipe) have been able to track down the error which caused this behaviour on the Mac's using Intel graphics. The problem was that I forgot to force VertexBufferObjects for the geometry performing the optical distortion correction. So the geometry used DisplayLists

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-06 Thread Björn Blissing
felipeberquo wrote: > Hi Björn, > > nice to read that! :D > I tried to make those changes in the code (those you sent me via e-mail) and > had no success. I'm gonna have to look for some apple or intel support... If > I get any answer to solve this I'll let you know Well, it seems to me like

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-06 Thread Felipe Ramos
Hi Björn, nice to read that! :D I tried to make those changes in the code (those you sent me via e-mail) and had no success. I'm gonna have to look for some apple or intel support... If I get any answer to solve this I'll let you know Thank you again! Regards, Felipe -- Read t

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-06 Thread Björn Blissing
felipeberquo wrote: > Hi, > > I've tried in Windows 7 (64-bit) and I think (didn't have much time to make > some tests yet) it worked! The only "issue" I've noticed was that the model > wasn't at the center of the screen, but it didin't crash. > > Regards, > Felipe Hi Felipe, The model is u

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-05 Thread Felipe Ramos
Hi, I've tried in Windows 7 (64-bit) and I think (didn't have much time to make some tests yet) it worked! The only "issue" I've noticed was that the model wasn't at the center of the screen, but it didin't crash. I'll check out this later again. Used a pre-compiled osg 3.2.0 binaries from htt

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-05 Thread Robert Osfield
Hi Filipe, I don't have an OSX box, or Occulus Rift or experience with their SDK, so can't provide an specific advice. What I would say is that unless others have seen the exact problem you are having then with the given information it's unlikely they'll be able to help. If others haven't been

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-05 Thread Felipe Ramos
I already did that, that's how i got this crash log... Still doing it, I could not identify a specific cause to the crash, and I would like to know if someone had this problem before and know how to solve it, if someone have some "hint"... I don't have an ideia on what to do now. Thanks for repl

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-04 Thread Patrik Andersson
You need to run your application i debug mode, and trace the stack: 0 com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x1234003a5708 IntelVertexArray::setElemData(unsigned int, unsigned int, unsigned short, unsigned int) + 140 1 com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x123

Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-04 Thread Patrik Andersson
The error is similar to one which I had with the API. You could check in oculusdevice.cpp, if the position array is 3 dimensional instead of 2? Similar check that the update the shaderprogram to let the position be a Vec3 instead of Vec2. Kind regards Patrik On Thu, Sep 4, 2014 at 3:18 PM, Felip

[osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash

2014-09-04 Thread Felipe Ramos
Hi, I'm having some trouble trying to integrate OSG (3.2.1) with Oculus Rift (SDK 0.4.1) using OculusViewer library. I'm using Mac OS X 10.9 (Mavericks) and Xcore (5.1). I can compile my code without any problem, but when I try to run it crashes. Here is a small of the log where the crash occur

Re: [osg-users] OSG 3.2.1 rc2 -- Problems linking with Cairo

2014-03-26 Thread Robert Osfield
HI Bill, Looks like we'll need to add a check against old version of cairo to prevent building against them. I presume most others don't have this issue because they are using more modern versions of cairo. I have 1.12.16 installed on my Kubuntu 12.10 that works fine. I wouldn't like to make th

Re: [osg-users] OSG 3.2.1 rc2 -- Problems linking with Cairo

2014-03-26 Thread Alberto Luaces
Bill Sherman writes: > Hello, > > I just downloaded the RC2 version of OSG 3.2.1, and after getting > through a couple of issues with FFMPEG, I'm now stuck at 85% through > the build process at the point where it is trying to build the > "ReaderWriterSVG.o" object file. Hi Bill, I'm compiling wi

[osg-users] OSG 3.2.1 rc2 -- Problems linking with Cairo

2014-03-26 Thread Bill Sherman
Hello, I just downloaded the RC2 version of OSG 3.2.1, and after getting through a couple of issues with FFMPEG, I'm now stuck at 85% through the build process at the point where it is trying to build the "ReaderWriterSVG.o" object file. I have cairo and cairo-devel installed: - # yum in

Re: [osg-users] OSG-3.2.1-rc1 + Qt-5.2.0 building

2014-03-25 Thread Julien Valentin
Try recompile Qt I had problems too, but recompiling qt solve all my issues. Code: http://download.qt-project.org/official_releases/qt/5.2/5.2.0/single/qt-everywhere-opensource-src-5.2.0.tar.gz.mirrorlist Hope it help -- Read this topic online here: http://forum.openscenegraph.o

Re: [osg-users] OSG-3.2.1-rc1 + Qt-5.2.0 building

2014-03-19 Thread Jakub Obr
Hi, I also had this problem after applying the patched cmake file. Because I didn't have time to find out what's causing this I've finished the compilation with a temporary solution - 1) Run the build till the error occures. 2) In generated file {build-directory}\src\osgQt\__\__\include\osgQt

Re: [osg-users] OSG-3.2.1-rc1 + Qt-5.2.0 building

2014-02-25 Thread Keith Powell
Hi, I’m having similar issues with OSG 3.2.0 and Qt 5.2.0 on Windows with Visual Studio 2010. I applied Kristofer Tingdahl’s patch and get the following error when compiling moc_QGraphicsViewAdapter.cpp: Error C2653: ‘osgQt’ : is not a class or namespace name Any suggestions? Thank you!

[osg-users] OSG-3.2.1-rc1 + Qt-5.2.0 building

2013-12-24 Thread Alexey Pavlov
Hi! I'm try to build OSG-3.2.1-RC1 +Qt-5.2.0. I use mingw-w64 toolchain with GCC-4.8.2. I apply patch from Kristofer Tingdahl before build and now got another errors: http://pastebin.com/Vz3xNnLU Regards, Alexey. ___ osg-users mailing list osg-users@li