You've forgotten to setup the viewport I think: view->getCamera()->setViewport(new osg::Viewport(0,0, traits->width/2, traits->height/2));
2009/7/24 Vic Ace <typedefinit...@gmail.com>: > And setting the clearcolor for the camera did not give the same effect. still > just black. hmm. > view->getCamera()->setClearColor(osg::Vec4f(0.2f, 0.2f, 0.6f, 1.0f)); > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=15407#15407 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- http://www.ssTk.co.uk _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org