Hi Stefan + Paul, My plan is to deprecate SceneView and eventually move it out of the OSG into the deprecated section of the osg svn.
osgViewer will itself have to be capable to replacing SceneView in the context that SceneView is used right now, it's mostly there already but not perfect. The advantage of higher level viewer constructs than SceneView is that it enables us to change the way that the scene graph is managed without breaking end user applications, and it also enables more seamless application development when targeting different types of display formats. SceneView as it stands to both too high level for a low level renderer, and too low level for a viewer. A better low level renderer will just manager a single Camera, CullVisitor and main RenderStage for managing the rendering backend. The extra complexities that SceneView has hacks back to the early days of the OSG when the viewers were more primitive and it attempted to pick up the slack with provide stereo support etc. Perhaps we should put together a very simple low level render to facilitate the removal of SceneView, this way users really wanting low level controls can have it, while users need proper viewers can go for osgViewer. Robert. On Mon, Feb 15, 2010 at 8:16 PM, Paul Martz <[email protected]> wrote: > Stefan Eilemann wrote: >> >> I'll do some more testing, and probably create an >> OpenThreads::createForCurrentThread() if I hit more issues. Somebody >> suggested using SceneView in an offline email to me, but I'm not sure >> if this is a good approach since it is marked deprecated. Any >> opinions? > > There exist applications that still depend on SceneView, and I happen to be > working on one of them. If/when SceneView is ever actually removed from OSG > (something I have no control over), my plan is to simply copy the header and > cpp file into the project I'm working on. There's no reason why it should > ever stop working (unless OSG is completely rewritten to remove the > update/cull/draw paradigm). > > I think you'd be safe coding to the SceneView interface. > -Paul > > > _______________________________________________ > 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

