HI Adrian, You can get the DatabasePager for the Scene attached to each View.
SceneView is rather more embedded in the internals though, the SceneView's can be created and destroyed on the fly by the Viewer. See the recent discussion on this topic, can't remember the thread, it was earlier tis week. I would like to make it easier to get access the how the Camera is rendering, but will need to spend some time on design to work out how best to manage it. Robert. On 6/16/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
hi robert, i was on holiday and now i am back, checked out the latest SVN version and there is the SimpleViewer removed. I have my own database pager written and i need to attach it with the sceneview object ref, or exactly with the cull visitor's. but i can no longer access this object from osgViewer::Viewer. Would it be possible to return for each Scene, Camera also the SceneView object? Way is the SceneView not a member of Scene / View? Would it be not better to move the sceneview member from the typedef std::list< osg::ref_ptr<osgUtil::SceneView> > SceneViews; SceneViews _sceneViews; to an encapsulated Scene / View object member /adegli _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
