Tom Pearce wrote: > We use multiple viewers created and run from multiple threads, since our > application is heavily modular and multiple modules can create and control > their own viewers without a central coordinator. We don't limit what > threading mode is used, and we haven't had problems with multiple viewers in > multithreaded mode. We haven't done anything particularly complex as far as > rendering goes so I don't know what the performance implications are, but I > know it works for some things at least. > > Cheers, > Tom
I am now also able to run a viewer from within a separate thread. I got it to work through calling the viewer's realize() method before my thread calls the viewer's frame() for the first time. I never bothered doing this with viewers in my main thread. When I didn't call the viewer's realize() method first, the thread would "hang" at the first call to viewer::frame(). I am sure there is prefect reasonable explanation for this - and I sure would like to know :) Cheers Bart ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44342#44342 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

