Added osgwindows example which sets up and Producer::CameraConfig up

and uses that to create multiple windows.
This commit is contained in:
Robert Osfield
2003-04-07 10:20:34 +00:00
parent 7e58786b11
commit 0df1b28672
8 changed files with 391 additions and 5 deletions

View File

@@ -138,8 +138,8 @@ void Viewer::setUpViewer(unsigned int options)
_old_style_osg_camera = new osg::Camera;
if (options&TRACKBALL_MANIPULATOR) addCameraManipulator(new osgGA::TrackballManipulator);
if (options&DRIVE_MANIPULATOR) addCameraManipulator(new osgGA::DriveManipulator);
if (options&FLIGHT_MANIPULATOR) addCameraManipulator(new osgGA::FlightManipulator);
if (options&DRIVE_MANIPULATOR) addCameraManipulator(new osgGA::DriveManipulator);
if (options&STATE_MANIPULATOR)
{