I have the same behaviour, however QOSGWidget on Qt 4.5 does work in
combination with the composite viewer example (at least on my computer,
QT4.5.1, OSG 2.8.0). Try:
osgviewerQT --QOSGWidget cow.osg --MTCompositeViewer

I have, however, problems with textured models and the composite
viewer. When I add a new view after initalization (application has entered
the frame loop), the new view (within an QOSGWidet) does not show the
textures. It the views are added before entering the frame loop there are no
problems.

With the new composite viewer introduced in OSG 2.9.4 the example:
osgviewerQT --QOSGWidget cow.osg --MTCompositeViewer
does not work again.

John Ivar Haugland

On Mon, May 11, 2009 at 5:33 PM, Martin Beckett <[email protected]> wrote:

> Probably not the right thread - but I get continual recursive repaint with
>  QOSGWidget on Qt4.5 when built with the default raster backend.
>
> This is on Windows XP on both a Nvidia GeForce5200 (laptop) and GeForce8500
> (desktop) it runs perfectly on linux (ubuntu 8.10 and 9.04) on both.
>
> With Qt4.4 it gave a warning about recursive repaint but worked.
> With Qt4.5 and the OpenGL backend it works but all the Qt gui elements
> (outside the OSGwidget) are also redrawn at 60fps making the app slow.
>
> I have an ATI board on order to test that and I should be able to test Win7
> this week.
>
> Cheers,
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=11824#11824
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to