Changeset 9692
- Timestamp:
- 02/06/09 16:17:49 (3 years ago)
- Location:
- OpenSceneGraph/trunk/examples
- Files:
-
- 8 modified
-
osg2cpp/osg2cpp.cpp (modified) (1 diff)
-
osganimationtimeline/osganimationtimeline.cpp (modified) (2 diffs)
-
osganimationviewer/AnimtkViewerKeyHandler.cpp (modified) (1 diff)
-
osgcluster/broadcaster.cpp (modified) (1 diff)
-
osgcluster/osgcluster.cpp (modified) (2 diffs)
-
osggeodemo/osggeodemo.cpp (modified) (1 diff)
-
osgmemorytest/osgmemorytest.cpp (modified) (2 diffs)
-
osgmultitexture/osgmultitexture.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osg2cpp/osg2cpp.cpp
r9124 r9692 90 90 else 91 91 { 92 std::cout<<"Error: could not f ound file '"<<filename<<"'"<<std::endl;92 std::cout<<"Error: could not find file '"<<filename<<"'"<<std::endl; 93 93 return 1; 94 94 } -
OpenSceneGraph/trunk/examples/osganimationtimeline/osganimationtimeline.cpp
r9459 r9692 158 158 int main (int argc, char* argv[]) 159 159 { 160 std::cerr << "This example work donly with osgAnimation/nathan.osg" << std::endl;160 std::cerr << "This example works only with osgAnimation/nathan.osg" << std::endl; 161 161 162 162 osg::ArgumentParser psr(&argc, argv); … … 173 173 if(!animationManager) 174 174 { 175 std::cerr << "Did not f ound AnimationManagerBase updateCallback needed to animate elements" << std::endl;175 std::cerr << "Did not find AnimationManagerBase updateCallback needed to animate elements" << std::endl; 176 176 return 1; 177 177 } -
OpenSceneGraph/trunk/examples/osganimationviewer/AnimtkViewerKeyHandler.cpp
r9459 r9692 38 38 std::cout << (char) _actionKeys.find(List)->second << " for List" << std::endl; 39 39 std::cout << (char) _actionKeys.find(Play)->second << " for Play" << std::endl; 40 std::cout << (char) _actionKeys.find(Next)->second << " for sele xt Next item" << std::endl;41 std::cout << (char) _actionKeys.find(Prev)->second << " for sele xt Previous item" << std::endl;40 std::cout << (char) _actionKeys.find(Next)->second << " for select Next item" << std::endl; 41 std::cout << (char) _actionKeys.find(Prev)->second << " for select Previous item" << std::endl; 42 42 } 43 43 -
OpenSceneGraph/trunk/examples/osgcluster/broadcaster.cpp
r9637 r9692 165 165 if( (h = gethostbyname( hostname )) == 0L ) 166 166 { 167 fprintf( stderr, "Broadcaster::setHost() - Cannot resolv an address for \"%s\".\n", hostname );167 fprintf( stderr, "Broadcaster::setHost() - Cannot resolve an address for \"%s\".\n", hostname ); 168 168 _address = 0; 169 169 } -
OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp
r9637 r9692 414 414 void CameraPacket::writeEventQueue(osgViewer::Viewer& viewer) 415 415 { 416 osg::notify(osg::INFO)<<"rec ieved events = "<<_events.size()<<std::endl;416 osg::notify(osg::INFO)<<"received events = "<<_events.size()<<std::endl; 417 417 418 418 viewer.getEventQueue()->appendEvents(_events); … … 438 438 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 439 439 arguments.getApplicationUsage()->addCommandLineOption("-m","Set viewer to MASTER mode, sending view via packets."); 440 arguments.getApplicationUsage()->addCommandLineOption("-s","Set viewer to SLAVE mode, rec iving view via packets.");440 arguments.getApplicationUsage()->addCommandLineOption("-s","Set viewer to SLAVE mode, receiving view via packets."); 441 441 arguments.getApplicationUsage()->addCommandLineOption("-n <int>","Socket number to transmit packets"); 442 442 arguments.getApplicationUsage()->addCommandLineOption("-f <float>","Field of view of camera"); -
OpenSceneGraph/trunk/examples/osggeodemo/osggeodemo.cpp
r6941 r9692 111 111 if (!rootnode) 112 112 { 113 osg::notify(osg::NOTICE)<<"Please specify a ndgeo model filename on the command line."<<std::endl;113 osg::notify(osg::NOTICE)<<"Please specify a geo model filename on the command line."<<std::endl; 114 114 return 1; 115 115 } -
OpenSceneGraph/trunk/examples/osgmemorytest/osgmemorytest.cpp
r9459 r9692 82 82 else 83 83 { 84 std::cerr<<"Error: Unable to create graphi s context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot create windows/pbuffers."<<std::endl;84 std::cerr<<"Error: Unable to create graphics context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot create windows/pbuffers."<<std::endl; 85 85 86 86 if (_pbuffer) throw "Failed to create PixelBuffer"; … … 407 407 if (glMemoryTests.empty()) 408 408 { 409 std::cout<<"No ttests specified, please specify test using the command line options below."<<std::endl<<std::endl;409 std::cout<<"No tests specified, please specify test using the command line options below."<<std::endl<<std::endl; 410 410 411 411 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); -
OpenSceneGraph/trunk/examples/osgmultitexture/osgmultitexture.cpp
r6941 r9692 52 52 if (!rootnode) 53 53 { 54 osg::notify(osg::NOTICE)<<"Please specify a ndmodel filename on the command line."<<std::endl;54 osg::notify(osg::NOTICE)<<"Please specify a model filename on the command line."<<std::endl; 55 55 return 1; 56 56 }
