My setup now is:
Code: viewer = new osgViewer::Viewer(); shadowedScene = new osgShadow::ShadowedScene(); scene2d = new osg::Group(); root = new osg::Group(); viewer->setUpViewOnSingleScreen(0); windowManager = new osgWidget::WindowManager(viewer,width,height, MASK_2D); osg::Camera* camera = windowManager->createParentOrthoCamera(); scene2d->addChild(camera); root->addChild(shadowedScene.get()); root->addChild(scene2d); viewer->setSceneData(root); GameManager::getViewer()->setCameraManipulator(new osgGA::TrackballManipulator()); I have a widget bar and a main 3d view (with Trackball manipulator). I want to substitute trackball manipulator with a camera located over my scene. How do I have to configure camera, viewport ecc. I try but I don't understand how. thank you very much Daniele ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37597#37597 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

