Hi,

I tried changing this method

[code]_viewer->setUpViewerAsEmbeddedInWindow(x, y, width, height);
[/code]

by creating my own GraphicsWindowEmbedded and assigning it to the camera

[code]osgViewer::GraphicsWindowEmbedded* _gwe = new
osgViewer::GraphicsWindowEmbedded(x,y,width,height);
osg::Camera* _camera = new osg::Camera();
_camera->setGraphicsContext(_gwe);
_viewer->setCamera(_camera);[/code]

and i used it just with a single Viewer not a Composite one but it is still
doesnot seem to work.

Thank you for your replay!

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

Reply via email to