Hi Erland, osg::Camera has threading support, but this is in support of osgViewer, and isn't used at all by SceneView. SceneView simple knows nothing about threading, it really just existing for backwards compatibility for old apps, and temporarily within osgViewer as an implementation detail, its something that will be replaced though.
As for integrating osgViewer with existing renderers/apps, this is what osgViewer::GraphicsWindowEmbedded can help out with. See osgviewerGLUT and osgviewerSDL for examples of it in action. This makes it easy to embed a viewer into an existing window without any need for complex wiring up of windows. Robert. On Thu, Apr 24, 2008 at 3:14 PM, <[EMAIL PROTECTED]> wrote: > Hi Robert, > > I mean the osgUtil::SceneView, which has a osg::Camera, which has a method > setCameraThread(OperationsThread *gt). Whats the point of OperationsThread in > camera then? Im using osg as a scenegraph now with a other renderer which > calls cull/draw in it's own thread So I was concerned there could be some > threading issue using osgUtil::SceneView. I would like to use Viewer but at > the time im afraid chaning the rendering/window/event system would involve > too much time/risk. > > Erlend > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield > Sent: 24. april 2008 16:00 > To: OpenSceneGraph Users > Subject: Re: [osg-users] osg::SceneView thread model > > Hi Erland, > > I don't know what part of the OSG you are refering to when you say > SceneView-Camera. > > SceneView doesn't do any threading whatsoever. > > Its only osgViewer that added threading, and here SceneView is just an > implementation details, its not something > you'll typically interact with. > > I don't personally recommend using SceneView directly anymore as > osgViewer classes are far more functional. > > > Robert. > > On Thu, Apr 24, 2008 at 2:48 PM, <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Do SceneView->Camera create a own thread / using multiple threads when > > drawing and culling? If so is it possible to use a single threaded model? > > > > > > > > Erlend > > _______________________________________________ > > 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 > _______________________________________________ > 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

