Changeset 5934 for OpenSceneGraph/trunk/examples/osgcamera/osgcamera.cpp
- Timestamp:
- 01/08/07 20:29:59 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcamera/osgcamera.cpp
r5933 r5934 71 71 72 72 73 unsigned int numCameras = 4;73 unsigned int numCameras = 6; 74 74 double aspectRatioScale = (double)numCameras; 75 75 double translate_x = double(numCameras)-1; … … 77 77 { 78 78 osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits; 79 traits->screenNum = i / 2;79 traits->screenNum = i / 3; 80 80 traits->x = (i*width)/numCameras; 81 81 traits->y = 0;
