On 01/26/2011 03:23 AM, Alberto Luaces wrote:
"Mike Hatcher" writes:

I see SceneView is deprecated.  SceneView is something the app I'm working on 
uses.  Can anyone tell me what has replaced it?
Well, from include/osgUtil/SceneView:

/**
  * SceneView is deprecated, and is now just kept for backwards compatibility.
  * It is recommend that you use osgViewer::Viewer/Composite in combination
  * with osgViewer::GraphicsWindowEmbedded for embedded rendering support as
  * this provides a greater range of functionality and consistency of API.
*/

I'll just add that osgViewer::Viewer (as well as osgViewer::CompositeViewer) has replaced both SceneView and Producer from the 1.x days. Viewer is for the majority of cases, where you have a single viewpoint onto a single scene. This includes, for example, multiple monitor setups where you draw a wide field of view across several monitors (this is done by setting up slave cameras attached to the Viewer's main camera).

CompositeViewer is for the cases where you actually need multiple distinct viewpoints either on a single scene or multiple distinct scenes.

Both versions are pretty easy to use, and there are lots of examples on how to use them.

--"J"

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to