Hi Fred,

The osgQtBrowser example has a code path this creates runs a viewer in
a background thread, this is done to workaround limitations of
threading in Qt.  This background thread is an OpenThreads::Thread
rather than a boost one, I don't see why using a boost thread would
cause a particular problem.  Perhaps the issue is a Windows specific
problem.

Robert.

On Fri, Aug 26, 2011 at 3:09 AM, Fred Maulir <[email protected]> wrote:
> Hello to All,
>
> I recently wanted to use OSG in a separate thread (a thread created with the 
> Boost library) although I encounter a new issue. When I run the viewer  in 
> this separate thread the window that is created is completely frozen.
>
> The scene is correctly rendered in the window (and the scene is animated 
> also) but the window is frozen meaning that I can't move/reduced/maximize the 
> window. Also I can't anymore use the mouse to navigate in my scene (i have a 
> camera manipulator).
> Of course I tested everything outside of this thread (in the main thread) and 
> all the bugs disappeared. Can anyone help me about this problem ?
>
> I'm sure that I'm not the only one to face this problem but I couldn't find a 
> post related in the forum. Feel free to redirect me to any pre-existing post 
> if you know any.
>
> Thanks a lot for any answer.
> Have a good day.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=42247#42247
>
>
>
>
>
> _______________________________________________
> 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