Re: [osg-users] QOSGWidget display problem

2010-02-23 Thread Ehsan Azar
Hi, Thanks for the fix! the null-returning paintEngine solved flickering problem for me as well. I am using a simplified osgviewerQtWidget and the flickering was very painful before I applied your suggestion. Thank you! Cheers, Ehsan -- Read this topic online here:

Re: [osg-users] QOSGWidget display problem

2010-02-23 Thread J.P. Delport
Hi, Ehsan Azar wrote: Hi, Thanks for the fix! the null-returning paintEngine solved flickering problem for me as well. I am using a simplified osgviewerQtWidget and the flickering was very painful before I applied your suggestion. do you mind posting your final version? Others might find it

Re: [osg-users] QOSGWidget display problem

2009-12-21 Thread D.J. Caldwell
Cedric, Martin, et al. I'm glad the null-returning QPaintEngine function seems to work for you. Unfortunately, I don't really have any other suggestions for testing it to determine whether or not you should label the fix acceptable. This is a question each project team must answer for

Re: [osg-users] QOSGWidget display problem

2009-12-19 Thread Cedric Pinson
I tried this fix and it works fine now. Thank you for the fix Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Sat, 2009-12-19 at 05:58 +, Martin Beckett wrote: I remember

Re: [osg-users] QOSGWidget display problem

2009-12-18 Thread Martin Beckett
I remember Don's point about the background paint attribute being different on windows Qt but i could never get a reliable fix. The dummy QPaintEngine function has fixed the flicker problem for me on Windows (XP, Qt4.6.0, Osg 2.9.6). What further testing do we need for it to be an accepted

Re: [osg-users] QOSGWidget display problem

2009-12-14 Thread Don Leich
I've run across the flickering problem before. There seems to be various side effects with certain Qt attributes, but I got better results changing setAttribute(Qt::WA_NoSystemBackground); to setAttribute(Qt::WA_OpaquePaintEvent); in QOSGWidget.cpp. You can follow the thread below or

Re: [osg-users] QOSGWidget display problem

2009-12-14 Thread D.J. Caldwell
Greetings OpenSceneGraph/Qt users, I, also, noticed bad behavior (blinking and such) with the QOSGWidget example code. It has been a while since I last worked with it, but I believe that after digging around in the documentation and deep in the source code that I (partially) corrected the

Re: [osg-users] QOSGWidget display problem

2009-12-14 Thread D.J. Caldwell
Sorry, I should have said this fix instead of my fix; someone else may have seen this, too, or I may have gotten the idea from someone else (directly, indirectly, or otherwise). Thanks, D.J. On Mon, Dec 14, 2009 at 1:14 PM, D.J. Caldwell dlcaldwel...@gmail.com wrote: Greetings

Re: [osg-users] QOSGWidget display problem

2009-12-13 Thread Cedric Pinson
Hi, I dont know if it's the same problem, but for my application i have flickering on windows not on linux. To be sure it was not a qt issue, i tried QT opengl demo, and it works fine, so i guess we would need to investigate the issue. One question i have is, is it better to let osg setup the

Re: [osg-users] QOSGWidget display problem

2009-12-12 Thread Martin Beckett
I have the same problem on Windows for 2.8 and 2.9.6 The only solution I have found is to rebuild Qt with experimental OpenGL rendering support - but that makes all the dialogs too slow to be usable. Otherwise AdaptorWidget works well, sorry I am at a client next week so I can't investigate