- Timestamp:
- 12/10/07 18:30:18 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgstereoimage/osgstereoimage.cpp
r7446 r7648 460 460 arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use node masks to create stereo images."); 461 461 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] image_file_left_eye image_file_right_eye"); 462 arguments.getApplicationUsage()->addCommandLineOption("-d <float>","Time delay in s ceonds between the display of successive image pairs when in auto advance mode.");462 arguments.getApplicationUsage()->addCommandLineOption("-d <float>","Time delay in seconds between the display of successive image pairs when in auto advance mode."); 463 463 arguments.getApplicationUsage()->addCommandLineOption("-a","Enter auto advance of image pairs on start up."); 464 464 arguments.getApplicationUsage()->addCommandLineOption("-x <float>","Horizontal offset of left and right images."); … … 476 476 osgViewer::Viewer viewer; 477 477 478 // register the handler to add keyboard and mo sue handling.478 // register the handler to add keyboard and mouse handling. 479 479 SlideEventHandler* seh = new SlideEventHandler(); 480 480 viewer.addEventHandler(seh); … … 527 527 arguments.reportRemainingOptionsAsUnrecognized(); 528 528 529 // report any errors if they have occur ed when parsing the program aguments.529 // report any errors if they have occurred when parsing the program arguments. 530 530 if (arguments.errors()) 531 531 { … … 560 560 float length = osg::PI*radius; // half a cylinder. 561 561 562 // use a tex ure matrix to control the placement of the image.562 // use a texture matrix to control the placement of the image. 563 563 osg::TexMat* texmatLeft = new osg::TexMat; 564 564 osg::TexMat* texmatRight = new osg::TexMat;
