[osg-users] Qt dynamic OpenGL implementation

2020-10-20 Thread OpenSceneGraph Users
Hi All, Qt supports dynamic OpenGL implementation loading that forces my application to switch from standard OpenGL to either ANGLE or Mesa llvmpipe when Windows Remote Desktop Connection is used. However I have seen that those fallbacks do not work in my case and the error is "OpenGL versio

[osg-users] Qt not passing mouse to callbacks

2019-02-22 Thread Bruce Clay
Hi, I am using Qt 5.11 with OSG 3.6.2 and osgEarth 2.10 Dev on windows 7 and 10. When I use the generic OSG window operations everything works fine but when I use Qt in a frameless mode I have to use the osgViewer::GrahicsHanleWin32 to mode to put OSG in the frameless window. When I do this th

[osg-users] Qt OsgEarth HudCamera Composition

2018-03-16 Thread Ali Ozdin
Hi, I can not see hud camera text. I only see main camera output which is generated by osg Earth manipulator. This problem comes up with integration with Qt. Before integrating with Qt, this derived hud view example works great. I am sharing a sample of code. What is the reason that I could not

Re: [osg-users] Qt Quick and Android

2017-09-29 Thread James Turner
> On 28 Sep 2017, at 08:45, Riccardo Corsi wrote: > > James can you just confirm that, with the QQuickRenderControl approach, it's > no more mandatory to have the main application loop handled by a Qt > application class? > > At the time when I wrote https://github.com/rickyviking/qmlosg > <

Re: [osg-users] Qt Quick and Android

2017-09-28 Thread Riccardo Corsi
Hi all, James can you just confirm that, with the QQuickRenderControl approach, it's no more mandatory to have the main application loop handled by a Qt application class? At the time when I wrote https://github.com/rickyviking/qmlosg (probably it was against Qt 4.8) the only option available was

Re: [osg-users] Qt Quick and Android

2017-09-25 Thread James Turner
> On 22 Sep 2017, at 20:55, Kamil Zaripov wrote: > > I don’t sure that using QQuickWindow::beforeRendering() or > QQuickWindow::afterRendering() signal will help since it also uses same > OpenGL context as Qt Quick Scene Graph, but I will try it. Is that a problem? Keep in mind you can set an

Re: [osg-users] Qt Quick and Android

2017-09-22 Thread Kamil Zaripov
Hi James, Thank you for suggestions. I don’t sure that using QQuickWindow::beforeRendering() or QQuickWindow::afterRendering() signal will help since it also uses same OpenGL context as Qt Quick Scene Graph, but I will try it. Solution that uses QQuickRender sound good, I will lock at FlightGe

Re: [osg-users] Qt Quick and Android

2017-09-22 Thread James Turner
> On 19 Sep 2017, at 15:28, Kamil Zaripov wrote: > > Now I’m trying to build osgqtquick library (or just code that is responsible > to create QQuickItem) for Android. However I would like to know is there any > library that surely works under desktop platforms (Windows, Linux, macOS) and > mo

Re: [osg-users] Qt Quick and Android

2017-09-21 Thread Kamil Zaripov
Hi Wojtek, Thanks for replying! However, I’ve checked osgitem.cpp file in https://bitbucket.org/leon_manukyan/qtquick2osgitem/overview project and I didn’t see lines such as: h->viewer->advance(); h->viewer->eventTraversal

Re: [osg-users] Qt Quick and Android

2017-09-20 Thread Wojtek Kowalski
Hi, I also fighting with qtquick/osg integration but on PC. (there are several issues that crash app). But according to qtquick2osgitem solution: Code: ... renders only first frame, second and subsequent frames doesn't renders. ... you can try commenting lines in synchronize() function Cod

[osg-users] Qt Quick and Android

2017-09-19 Thread Kamil Zaripov
Hi all, I’m developing cross-platform application using Qt Quick 2. And I want to integrate OpenSceneGraph view into my application. It seems that there is there are several libraries that can integrate OpenSceneGraph into Qt Quick application: https://github.com/podsvirov/osgqtquick

Re: [osg-users] Qt version for OSG3.4.0

2016-10-18 Thread Uma Devi Selvaraj
Hi all, Thanks for the reply :) ... Thank you! Cheers, Uma -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69057#69057 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lis

Re: [osg-users] Qt version for OSG3.4.0

2016-10-18 Thread Lyubov Akimova
Hi, 4.8.6 working fine too. Thank you! Cheers, Lyubov -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69056#69056 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscene

Re: [osg-users] Qt version for OSG3.4.0

2016-10-17 Thread Gianni Ambrosio
I'm currently working with Qt 5.6.0 but Qt 5.5.1 worked fine as well. Cheers, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69027#69027 ___ osg-users mailing list osg-users@lists.openscenegra

Re: [osg-users] Qt version for OSG3.4.0

2016-10-17 Thread konstantin
11:06, 17 october 2016 г., Uma Devi Selvaraj :Hi all,  Can somebody tell me which version of Qt does OSG 3.4.0 supports.??... Thank you!Cheers,UmaFor me it's work with Qt 5.5 and 5.7 on Windows.You can try my prebuilt binaries at: http://dad.podsvirov.pro ___

[osg-users] Qt version for OSG3.4.0

2016-10-17 Thread Uma Devi Selvaraj
Hi all, Can somebody tell me which version of Qt does OSG 3.4.0 supports.?? ... Thank you! Cheers, Uma -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69024#69024 ___ osg-users mailing list

Re: [osg-users] Qt OpenGL Warning opengl

2016-04-28 Thread Auke-Dirk Pietersma
Hi Robert, Good to know that osg checks the capabilties them selves. I tried the following snippet: Code: _ctx = std::unique_ptr(new QOpenGLContext); QSurfaceFormat format; format.setMajorVersion(_majorId); format.setMinorVersion(_minorId); format.setOption(QSurfaceFormat::

Re: [osg-users] Qt OpenGL Warning opengl

2016-04-27 Thread Robert Osfield
HI Auke-Dirke, On 25 April 2016 at 14:07, Auke-Dirk Pietersma wrote: > I have the following issue. Whenever i choose to render a scene with > opengl greater than 2.1 i get the following messages. > > Warning: detected OpenGL error 'invalid enumerant' after applying GLMode > 0xb50 > Warning: dete

[osg-users] Qt OpenGL Warning opengl

2016-04-26 Thread Auke-Dirk Pietersma
Hi All , I have the following issue. Whenever i choose to render a scene with opengl greater than 2.1 i get the following messages. Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0xb50 Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x4000 Warni

Re: [osg-users] Qt based OSG app dies not print / save the graphics window

2015-10-29 Thread Robert Osfield
Hi Bruce, Printing and saving pdf isn't anything to do with OpenGL/OSG or osgEarth. If Qt is providing this for you then look to Qt support forum's and docs. Robert. On 28 October 2015 at 13:34, Bruce Clay wrote: > Hi, > > I am trying to print / save to pdf a view of my Qt based OSG applicatio

[osg-users] Qt based OSG app dies not print / save the graphics window

2015-10-29 Thread Bruce Clay
Hi, I am trying to print / save to pdf a view of my Qt based OSG application. The framework of the application is being saved but the graphics is not. I am using osgEarth with this application. I have posted this message to the osgEarth forum but no replies so I wanted to see if this is a mo

Re: [osg-users] QT + OSG Performance Issues

2015-07-03 Thread Jan Ciger
On Fri, Jul 3, 2015 at 12:55 AM, sam wrote: > When running the example "osgViewerQt" there is some serious lag / > performance issues. Is there something I have to tweak or change in order to > get a smooth QT + OSG integration? I'm running QT 5.4.1 and OSG 3.2.1. > Thanks. Are you running the An

Re: [osg-users] QT + OSG Performance Issues

2015-07-03 Thread Sebastian Messerschmidt
HI Sam, Can you please give a bit more detail? For instance which operating system your are on and some absolute figures (FPS with Qt and without)... When running the example "osgViewerQt" there is some serious lag / performance issues. Is there something I have to tweak or change in order to

[osg-users] QT + OSG Performance Issues

2015-07-02 Thread sam
When running the example "osgViewerQt" there is some serious lag / performance issues. Is there something I have to tweak or change in order to get a smooth QT + OSG integration? I'm running QT 5.4.1 and OSG 3.2.1. Thanks. ___ osg-users mailing list osg-u

Re: [osg-users] qt plots over viewer

2015-05-12 Thread Gianni Ambrosio
Hi All, FYI I implemented a working spike solution. Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63728#63728 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensc

Re: [osg-users] qt plots over viewer

2015-05-11 Thread Gianni Ambrosio
Hi All, I tried several solutions but I didn't find a full working solution yet. Here is a piece of code that shows and is able to update the image of a qt widget but I'm not able to make the move and resize working. Code: void MyViewer::addOverlay(QWidget* iWidget) { osgWidget::Window* osg

Re: [osg-users] qt plots over viewer

2015-05-06 Thread Gianni Ambrosio
Hi, and without arguments if I just push the right mouse button and drag it downwards then the application does not respond anymore. Cheers, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63647#63647 ___

Re: [osg-users] qt plots over viewer

2015-05-06 Thread Gianni Ambrosio
Hi, for example, one of the issue just calling the exe with --frame-thread is a bunch of Qt errors like following: QPainter::translate: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setWorldTransform: Painter not active QPainter::setFont:

[osg-users] qt plots over viewer

2015-05-06 Thread Gianni Ambrosio
Hi All, I would like to show a plot widget, implemented with Qt, over an OSG viewer (please see attached image). The aim is to produce a movie with 3D animation + plot. I can already create a movie of the 3D scene correcly. Now I need to add the plot widget over the viewer. The user should drag

Re: [osg-users] Qt 5.4 + OSG 3.2.1 + Multithreading

2015-03-18 Thread El Rudi
Hi, perhaps the new OpenGL classes (QOpenGLWidget, QOpenGLContext, QtQuick ) in Qt 5.4 are a solution (you have to replace the old QGLWidget), but i don't know if someone tried this with OSG... New in Qt 5.5: - Windows now defaults to the threaded Qt Quick render loop when using desktop OpenGL

Re: [osg-users] Qt 5.4 + OSG 3.2.1 + Multithreading

2015-03-10 Thread jamie robertson
Hi, We're currenltly just embedding our osg window into Qt as foreign windows as decribed here: http://forum.openscenegraph.org/viewtopic.php?t=13602. This has worked well for us since Qt 5.4 although there are a few quirks, notably the lack of keyboard focus in the osg window and also you can

Re: [osg-users] Qt 5.4 + OSG 3.2.1 + Multithreading

2015-03-10 Thread DizL
Hi, What about this solution http://pastebin.com/W2QJj8bQ# ??? Is it working? regards, DizL ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Qt 5.4 + OSG 3.2.1 + Multithreading

2015-03-10 Thread Robert Osfield
Hi DizL et. al, No one has actually submitted that change, it's the first I've ever heard of it. So just "waiting" for something to be merged when nothing has been passed on is well, going to require alot of patience. I have look at the diff and it looks like a hack to me, and not suitable to be

Re: [osg-users] Qt 5.4 + OSG 3.2.1 + Multithreading

2015-03-10 Thread DizL
Hi, I'm also waiting for official osg for >= qt 5.4 support temp solution is: https://github.com/pangwa/osg/commit/cb9084bfc5ac986658779ca188a32f46b1141c68 multithreading is working but you cannot change in the fly regards, DizL ___ osg-users mailing

[osg-users] Qt 5.4 + OSG 3.2.1 + Multithreading

2015-02-19 Thread Ale Maro
Hi, I recently compiled successfully OSG 3.2.1 with Qt 5.4. Looking at Qt 5.4 release notes, Qt have improved integration with third parties 3d engines so I wonder if someone have solved multithreading problem on Qt. I read in this forum that someone have compiled OSG 3.2.1 with Qt 5.4 an mul

Re: [osg-users] [Qt] Create a HUD (by using QGraphicsView / QGraphicsScene )

2015-01-29 Thread Nicolas MORENO
Hi, I have a look on the osgQtWidgets example but the only HUD create is into the OSG view. I try to found a solution by using Qt Baxos exemple. I can display OSG into QGraphicsScene but I lost all interaction. I found a topic talking about this (I cant post URL yet). Into it, a post talk about

[osg-users] [Qt] Create a HUD (by using QGraphicsView / QGraphicsScene )

2015-01-22 Thread Nicolas MORENO
Hi, I work on a project using OSG (with OSG Earth). I create HMI with Qt and add OSG (Earth) view using osgQt::GLWidget devived class (osgEarth::QtGui::ViewerWidget ) and it's work fine. My application needs a HUD over the OSG widget but when I display QWdiget over the GLWidget, it has a black

Re: [osg-users] Qt resouce and osgDB::readImageFile

2014-09-21 Thread Andre Normann
Hi Heiko, I solved the problem this way: 1. Create an own subclass of osgDB::ReadFileCallback and override the readImage method. 2. Check inside the readImage() method, if the filename starts with ":/" or "qrc:///" 3. If the filename is a Qt resource, then load the image into a QImage and convert

[osg-users] Qt resouce and osgDB::readImageFile

2014-09-11 Thread Heiko Thiel
Hi, I currently bind files wich our application need as resource. But is there a way, that osg automatically use the resource system (accept filepathes starting with qrc:/). Or how I can load a file from a qrc with something like readImageFile, where a filepathes is accepted, but I don't see an

[osg-users] QT and OSG openGL issues

2014-08-27 Thread Nick Modly
Hi, I'm currently walking down the oft-treaded path of creating Qt Widget overlays on top of an OSG scene. I've been doing a lot of reading and searching over the archives, and it seems like there are 2 main approaches. Eveything I can find on the topic is 3-5 years old, however, so I was wonde

[osg-users] Qt (4.x) and QGraphicsScene

2013-11-04 Thread Sebastian Messerschmidt
Hi folks, I know this has been issued before, but I need some example to do the following: 1. Let the viewer render to an offscreen-target. 2. Use the Qt Graphicsscene to display the rendered scene as background image. 3. Let Qt render the other items in the graphicsview. Can someone give m

Re: [osg-users] QT widgets as children of a OSG view

2013-08-03 Thread Ale Maro
Hi Robert, you are right, question is not clear... probably I need holidays ;-) I need to render (overlay) standard QT widgets in 2D over the OSG 3d view. One solution is using osgWidget as you suggested. I implemented a OSG 3d view as a class that inherits from CompositeViewer and QWidget. In Q

Re: [osg-users] QT widgets as children of a OSG view

2013-08-02 Thread Robert Osfield
HI Ale, On 2 August 2013 17:12, Ale Maro wrote: > using OSG 3.01 and QT 4.8.4 I was not able to setup a OSG view with a QT > widget as child. > Do you think this can be done with OSG 3.2? I'm not a Qt expert so can't comment too deeply on the Qt side, but even with my rather shallow knowledge o

[osg-users] QT widgets as children of a OSG view

2013-08-02 Thread Ale Maro
Hi, using OSG 3.01 and QT 4.8.4 I was not able to setup a OSG view with a QT widget as child. Do you think this can be done with OSG 3.2? Thank you! Cheers, Ale -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55735#55735

Re: [osg-users] Qt version for osg 3.0.1

2013-03-06 Thread Peter Wraae Marino
robertson1 wrote: > Hi, > > I've had no problems using Qt4.8 with 3.0.1, (Qt 5 wont work with it though). > > Cheers, > > jamie thanks.. I know that that Qt4.8 works... but my question was where can I see what version works with what I tried to use Qt5 and run into a bunch of problems..

Re: [osg-users] Qt version for osg 3.0.1

2013-03-06 Thread jamie robertson
Hi, I've had no problems using Qt4.8 with 3.0.1, (Qt 5 wont work with it though). Cheers, jamie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52965#52965 ___ osg-users mailing list osg-users@lists

[osg-users] Qt version for osg 3.0.1

2013-03-06 Thread Peter Wraae Marino
Hi, Where can I find information about which Qt version is working with osg 3.0.1? Thank you! Cheers, Peter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52964#52964 ___ osg-users mailing list osg

Re: [osg-users] QT code

2013-01-15 Thread Bhaskar Bhattacharya
Roni Zanolli writes: > > Hi, > > Attached a sample code. If you are using QtCreator this will be even easier. > Create a gui application. > In your mainwindow.ui create a widget and promote it to QtOsgLib. Copy the files attached to your project > and that's it. > > Let me know if it

[osg-users] QT Gui not working with Necessitas/OSG

2012-12-05 Thread Massimo Tarantini
Hi, I'm developing with Necessitas (QT for Android), Osg/VPB and OpenGLES 2.0 It works fine, but the Qt Gui does not work. If i add a simply QPushButton, the opengl rendering stop working. After many hours of debug i found a problem in the QT Framework, in the file qpaintengineex_opengl2.cpp,

Re: [osg-users] qt rendering thread

2012-11-19 Thread Filip Arlet
Hi, Ok, Thanks, I get the idea behind it. Do I have to worry about thread safety or not ? Cheers, Filip -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51145#51145 ___ osg-users mailing list osg-use

Re: [osg-users] qt rendering thread

2012-11-14 Thread Max Sergeev
Hello! Have you looked into OsgQtBrowser and OsgQtWidgets examples? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51090#51090 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lis

[osg-users] qt rendering thread

2012-11-12 Thread Filip Arlet
Hi, Current state GraphicsWindowQt uses QTimer and function osgQt::setViewer for rendering traversal. It's clever, because Qt and osg events get correctly dispatched. But if fps drops, Qt Gui lags, mainly because some events (menu for example) will request redraw. I want to render scene in diff

Re: [osg-users] Qt crashes on key press

2012-09-27 Thread Magnus Kessler
On Wednesday 26 Sep 2012 11:33:44 Max Sergeev wrote: > Allright, I think I've got another, more global question: is there a way to > make OSG ignore all keypresses, all keyboard events? Just like this, so it > would not react on S, W or even Escape keypresses You can stop a Viewer from exiting on

Re: [osg-users] Qt crashes on key press

2012-09-26 Thread Max Sergeev
Allright, I think I've got another, more global question: is there a way to make OSG ignore all keypresses, all keyboard events? Just like this, so it would not react on S, W or even Escape keypresses -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p

[osg-users] Qt crashes on key press

2012-09-24 Thread Max Sergeev
Hello! I've a problem with Qt once again :) There is OSG scene, where I put some Qt controls, like in osgQtBrowser example, where Qt controls are getting rendered like OSG objects (I create camera for them and stuff). So, when I press any key on keyboard, Qt controls just jump somewhere around

Re: [osg-users] Qt and OpenThreads

2012-09-19 Thread Max Sergeev
Thanks, Nico, very interesting info, I'll read that through. Was not my case, though: Can't believe how dumb my mistake actually was was: mixing release OSG libraries with debug Qt libraries. Never mix debug with release, thats what I've learned :) Thanks to all who wanted/tried to help. -

Re: [osg-users] Qt and OpenThreads

2012-09-17 Thread Nico Kruithof
Hi, OpenGL rendering with Qt is kind of tricky. Qt wants to render from the main thread, while OSG performs much better with threading enabled. We have a working application with OSG 3.0.1, but it doesn't work anymore with OSG 3.1.2. I still need to investigate that. Qt also has improved OpenGL re

[osg-users] Qt and OpenThreads

2012-09-14 Thread Max Sergeev
Hello! I'm stuck on one problem. There is kind of big project, and I need to make Qt interface on it. What I try to do is make a camera for Qt-interface element. The problem comes with using OpenThreads: I'm trying to run OSG rendering inside new thread, yielding to rendering of Qt element, li

Re: [osg-users] QT and OSG on separate X screens

2012-09-05 Thread Roman Grigoriev
I upgraded to Qt 5.0.0beta1 and my app works only if I use singlethreaded overwise I got Cannot make QOpenGLContext current in a different thread -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49774#49774 __

[osg-users] QT and OSG on separate X screens

2012-09-04 Thread Roman Grigoriev
Hi, I'm trying to make QT app with osg on separate X screens under ubuntu 12.04 on nvidia 304 with qt 4.8.1. Compositeviewer with one view on first X and second view on second X works perfect. But I need to make render window in QT widget on first screen and fullscreen osg window on second scre

Re: [osg-users] Qt

2012-05-14 Thread Robert Osfield
Hi Filip, My guess is that when the windows are destroyed the scene graph isn't been cleared of the OpenGL objects associated with that context. The scene graph has releaseGLObjects(osg::State*) method for this purpose, and there are osg::flushAllDeletedGLObjects(uint contextID), deleteAllGLObjec

Re: [osg-users] Qt - multiple views

2012-05-09 Thread Filip Arlet
Hi, ok this doesnt have anything with view, I think the problem are Display Lists, it will call bad list, I dont know why (I think it's problem with sharing display lists to new context), T have switched to vertexarrays and it works Thank you! Cheers, Filip -- Read this topic

[osg-users] Qt

2012-05-09 Thread Filip Arlet
Hi, I use multiple Qt windows for rendering, that can be created and destroyed while program is running. My problem occurs when I destroy and than create new view. New view has incorrect scenegraph (other views has correct one). Any idea why ? ... Thank you! Cheers, Filip --

[osg-users] Qt widget scene shows up black

2012-03-17 Thread James Cotton
The demo application osgviewerQt shows the grid of images as black, but the dump truck works just fine. It's not a problem finding the file because trying to add the dumptruck to the layout instead of one of the others makes it disappear. I ran my app with OSG_NOTIFY_LEVEL=debug and don't see any

Re: [osg-users] Qt with osg (specifically QGraphicsViewAdapter) bugs

2012-03-06 Thread Darius Meškauskas
Hi, Also found out that it needs Code: _graphicsView->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); _graphicsView->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); in QGraphicsViewAdapter::QGraphicsViewAdapter or else there are two invisible scrollbars. Hope this will be helpful

[osg-users] Qt with osg (specifically QGraphicsViewAdapter) bugs

2012-02-07 Thread Darius Meškauskas
Hi, I found a log message detailing some bugs in QWidgetImage (log of svn changeset 11610). Because I'm working on a project which requires osg and qt integration I managed to find the problem why QTextEdit is not working. For anyone interested (and having more experience than me) it seems that

Re: [osg-users] Qt & GraphicsWindow on Linux

2011-12-05 Thread Marius Kintel
Hi, Can you post a minimal, but buildable, example? If you're brave, you can take a look at the WindowSystemQt branch here, where I'm trying to make the osgQt binding transparently working with OSG: https://github.com/kintel/osg/tree/WindowSystemQt (as posted here: http://forum.openscenegraph.o

[osg-users] Qt & GraphicsWindow on Linux

2011-11-29 Thread Thomas Lerman
I am not sure if this is by design or an inconsistency. I have a Qt application that I can change a #define to decide whether to use GraphicsWindow or GraphicsWindowQt. Both work great in Windows. However, when I go to Linux, several keys or mouse binding to actions do not work under GraphicsWin

Re: [osg-users] QT WIdget

2011-09-15 Thread Jonathan Klein
Thanks, that worked. Took me some time to change the sample from CompositeViewer to a normal Viewer but it seams to work now. Thanks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42796#42796 ___ os

Re: [osg-users] QT WIdget

2011-09-15 Thread Robert Osfield
Hi Jonathan, Is there a reason why you haven't considered using the new osgQt library, now part of the OpenSceneGraph-3.0 release? The osgviewerQt example illustrates it's usage. Robert. On Wed, Sep 14, 2011 at 9:58 PM, Jonathan Klein wrote: > Hi, > > i'm writing a Qt Application, that should

[osg-users] QT WIdget

2011-09-14 Thread Jonathan Klein
Hi, i'm writing a Qt Application, that should display a OSG Scene inside a widget. I found some sample code and tried to use it as an Widget: http://pastebin.com/VJ45jUUN I have a ui-File to define the rest of the gui. Now i try to add my OsgWidget: Code: QtGui::QtGui(QWidget *parent, Qt::WFl

Re: [osg-users] QT code

2011-09-06 Thread Robert Osfield
Hi Michael, I'm afraid I can't help on this, I can point you in the direction of the existing OSG Qt examples, but have very little Qt expertise myself. Robert. On Mon, Sep 5, 2011 at 8:03 PM, Michael W. Hall wrote: > Robert, > > Trying to use your example you mentioned to get a GUI going.  I a

Re: [osg-users] (Qt) single GraphicsWindowQt completely filling parent widget

2011-09-02 Thread jamie robertson
Ah ha, that makes sense. Many thanks for the expanation. Jamie Robertson -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42396#42396 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] QT code

2011-09-02 Thread Michael W. Hall
I am trying to use this as a starting point. I have downloaded the latest and compiled. I may have a question later this evening about the code. Michael On Sun, 2011-08-14 at 11:07 +0100, Robert Osfield wrote: > HI Michael, > > OSG-3.0.x has an osgQt library that provides a class for adapting

Re: [osg-users] (Qt) single GraphicsWindowQt completely filling parent widget

2011-09-02 Thread Robert Milharcic
t: [osg-users] (Qt) single GraphicsWindowQt completely filling parent widget Hi, For some reason I'm struggling to get a GraphicsWindowQt (GraphicsWindowQt ::getGLWidget) to completely fill a parent widget. I've tried various ways and always seem to fail (the GraphicsWindowQt isnt

[osg-users] (Qt) single GraphicsWindowQt completely filling parent widget

2011-09-01 Thread jamie robertson
Hi, For some reason I'm struggling to get a GraphicsWindowQt (GraphicsWindowQt ::getGLWidget) to completely fill a parent widget. I've tried various ways and always seem to fail (the GraphicsWindowQt isnt displayed) unless there is a non zero margin on a layout, in which case it works as expect

Re: [osg-users] QT-OSG problem

2011-08-21 Thread John Doves
Hello, Something changed in Qt 4.8 Beta, maybe it be usefull check it http://labs.qt.nokia.com/2011/06/03/threaded-opengl-in-4-8/ Best regards, John[/url] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42155#42155 ___

Re: [osg-users] QT-OSG problem

2011-08-19 Thread Thomas Borsos
Hi! Thanks for your answers! Maybe I was explaining the problem poorly. So, I would like to open an osgViewer window in one thread, and a QT window in another thread. Take a closer look at my source code! If I comment the contents of the qt thread, than everything is OK in the OSG scene. Conve

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Martin Scheffler
I'm currently working on a better qt render thread integration that solves all these problems. It is already possible to open render windows from the render thread (using a qt blocking queued connection). Resize, minimize, close etc are communicated using signal-slot connections. The only requir

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Tom Pearce
Hi Thomas, I think a bit more information would be useful. Werner is correct about Qt paint events in that all QWidgets must be created in the QApplication thread and cannot be moved to any other threads. If you're trying to use osg to render into a Qt-based window, this will be an issue. Ho

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Werner Modenbach
Hi Thomas, as far as I know Qt does not support painting in several threads. Preparation of scene data in a separate thread is no problem. But the painting process must be the GUI-Thread. - Werner - > Hi all! > > I am currently working on an application, that includes > > - an OSGViewer windo

Re: [osg-users] QT-OSG problem

2011-08-16 Thread Thomas Borsos
Hi all! I am currently working on an application, that includes - an OSGViewer window, with a scene - a QT window, where I would like to adjust parameters of the scene in the other window (in real time). Both windows are handled in a different thread. The problem is, that if I make a window of

Re: [osg-users] QT code

2011-08-15 Thread Roni Zanolli
Hi, Attached a sample code. If you are using QtCreator this will be even easier. Create a gui application. In your mainwindow.ui create a widget and promote it to QtOsgLib. Copy the files attached to your project and that's it. Let me know if it worked for you. Cheers, Roni -

Re: [osg-users] QT code

2011-08-14 Thread Robert Osfield
HI Michael, OSG-3.0.x has an osgQt library that provides a class for adapting Qt window to work with the osgViewer classes. The osgviewerQt example illustrates this in action. Robert. On Sat, Aug 13, 2011 at 10:25 PM, Michael W. Hall wrote: > Would someone mind sharing their code for creating

Re: [osg-users] QT code

2011-08-14 Thread Sergey Vidyuk
On Saturday 13 August 2011 16:25:16 Michael W. Hall wrote: > Would someone mind sharing their code for creating a QT application? I > have spend numerous hours trying to create a QT window and have a window > to render in. I have looked at the example code and it looks very > different from the Q

[osg-users] QT code

2011-08-13 Thread Michael W. Hall
Would someone mind sharing their code for creating a QT application? I have spend numerous hours trying to create a QT window and have a window to render in. I have looked at the example code and it looks very different from the QT books I have. I would like to be able to create the menus using

Re: [osg-users] Qt, Manipulator keyEvent, Seeking for Help in an Emergency

2011-08-05 Thread J.P. Delport
Hi, AFAIK alt must be pressed with some other key before you'll get an event. jp On 05/08/2011 09:59, ramy panda wrote: Hi, In my codes, i rewrite keyPressEvent function like below: void AdapterWidget::keyPressEvent( QKeyEvent* event ) { _gw->getEventQueue()->keyPress( (osgGA::GUIE

[osg-users] Qt, Manipulator keyEvent, Seeking for Help in an Emergency

2011-08-05 Thread ramy panda
Hi, In my codes, i rewrite keyPressEvent function like below: > void AdapterWidget::keyPressEvent( QKeyEvent* event ) > { > _gw->getEventQueue()->keyPress( (osgGA::GUIEventAdapter::KeySymbol) > *(event->text().toAscii().data() ) ); > } In my osg codes, i write like this: > bool Manipu

[osg-users] Qt + OSG , ManipulatorEventHandler Keyevent

2011-08-04 Thread ramy panda
Hi, I embeded osg in Qt in my program.Now I implement a class ManipulatorEventHndler to interact with the object in the view. But in my codes below > bool ManipulatorEventHandler::handle(const osgGA::GUIEventAdapter& ea, > osgGA::GUIActionAdapter& aa, > osg::Object*, osg::NodeVisit

Re: [osg-users] Qt Library

2011-02-10 Thread Werner Modenbach
Hi Gianni, not on Linux. Bur I'll get into it again. Thanks for your reply. - Werner - > Hi, > I'm not sure but a crash related to QPainter I experienced in the past was > caused by mixing debug and release libs. > > Cheers, > Gianni > > -- > Read this topic online here: > http:

Re: [osg-users] Qt Library

2011-02-10 Thread Gianni Ambrosio
Hi, I'm not sure but a crash related to QPainter I experienced in the past was caused by mixing debug and release libs. Cheers, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36521#36521 ___

[osg-users] Qt Library

2011-02-10 Thread Werner Modenbach
Hi all, we adapted our software to the new Qt library, which is a good thing! Testing it on various systems leads us to some problems. The programs crash sometimes and we successfully catched the problem in the debuger. The crash happens when QPainter and osg paint to the screen simultaneously

Re: [osg-users] QT and fullscreen OSG

2011-01-27 Thread Roman Grigoriev
Hi, I solved problem using DualView mode But anyway thanx for your advices. Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36047#36047 ___ osg-users mailing list osg-users@

Re: [osg-users] QT and fullscreen OSG

2011-01-27 Thread Chuck Shaw
Hi, First, make sure that your popup windows have the mainwindow as their parent. Second, this happens a lot when you do full screen applications. One thing you may try is calling QWidget::raise() on your dialogs. The raise slot brings the widget to the top and will visually be in front of an

Re: [osg-users] QT and fullscreen OSG

2011-01-26 Thread Roman Grigoriev
Hi, I deeply investigated problem and found that this behavior found only in clone mode on nvidia so if you have one fullscreen (not clonned) all works fine. Thank you! Cheers, Roman -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36013#36013

[osg-users] QT and fullscreen OSG

2011-01-26 Thread Roman Grigoriev
Hi, I created app that use osg from trunk and QT 4.7.1 as messaging system. So I use osg in borderless window and popup qt dialogs. Here we come to main problem under vista and linux if screen resolution (1024*768) is more than window resolution (800*600) all works fine and if screen resolution

[osg-users] [Qt]GraphicWindowEmbedded

2010-12-10 Thread Mat Zanis
Hi, I have a problem concerning osg integration in Qt. I took the example of osgViewerQt as a base and implemented it in my project. When I execute frame function into my Qt lib there is no problem, I get my video into my widget. But if I call it from the graphic engine of my project ( compiled

Re: [osg-users] QT undefined reference to

2010-12-07 Thread Eric ZAREMBA
sts.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] De la part de Maxim Gammer Envoyé : mardi 7 décembre 2010 12:10 À : osg-users@lists.openscenegraph.org Objet : Re: [osg-users] QT undefined reference to + CONFIG += opengl QT += opengl 2010/12/7 Maxim Gammer : > in my .pr

Re: [osg-users] QT undefined reference to

2010-12-07 Thread Maxim Gammer
+ CONFIG += opengl QT += opengl 2010/12/7 Maxim Gammer : > in my .pro file > > > > win32 { >    LIBS =     -lOpenThreads \ >        -lopengl32 \ >        -losg \ >        -losgDB \ >        -losgGA \ >        -losgUtil \ >        -losgText \ >        -losgViewer \ >        -losgShadow \ >  

Re: [osg-users] QT undefined reference to

2010-12-07 Thread Maxim Gammer
in my .pro file win32 { LIBS = -lOpenThreads \ -lopengl32 \ -losg \ -losgDB \ -losgGA \ -losgUtil \ -losgText \ -losgViewer \ -losgShadow \ -losgParticle \ -losgAnimation \ . 2010/12/7 Cracj Kurt :

  1   2   >