Changeset 5463 for OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp
- Timestamp:
- 08/23/06 15:16:12 (7 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osglogo/osglogo.cpp
r5381 r5463 424 424 425 425 osg::ClearNode* backdrop = new osg::ClearNode; 426 backdrop->setClearColor(osg::Vec4(1.0f,1.0f,1.0f, 1.0f));426 backdrop->setClearColor(osg::Vec4(1.0f,1.0f,1.0f,0.0f)); 427 427 428 428 //osg::Vec3 lightPosition(-500.0f,-2500.0f,500.0f); … … 450 450 arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates both text, animation and billboard via custom transform to create the OpenSceneGraph logo.."); 451 451 452 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+"[options] [filename] ...");452 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+"[options] [filename] ..."); 453 453 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 454 454 arguments.getApplicationUsage()->addCommandLineOption("ps","Render the Professional Services logo"); 455 455 456 457 osg::DisplaySettings::instance()->setMinimumNumAlphaBits(8); 458 456 459 // construct the viewer. 457 460 osgProducer::Viewer viewer(arguments); 458 461 462 viewer.setWriteImageFileName("logo.rgb"); 463 459 464 // set up the value with sensible default event handlers. 460 465 viewer.setUpViewer(osgProducer::Viewer::STANDARD_SETTINGS);
