Ported following examples to osgViewer:

osggeodemo
    osggeometry
    osghud
    osgimpostor
    osgkeyboard
    osglauncher
    osglight
    osglightpoint
    osglogicop
    osglogo
    osgmovie
    osgmultiplecameras
    osgmultitexture
    osgoccluder
    osgparametric
    osgparticle
This commit is contained in:
Robert Osfield
2007-01-08 10:00:16 +00:00
parent e041f08b73
commit dfb21cb81a
79 changed files with 259 additions and 1191 deletions

View File

@@ -30,11 +30,6 @@ int main(int argc, char **argv)
// use an ArgumentParser object to manage the program arguments.
osg::ArgumentParser arguments(&argc,argv);
// set up the usage document, in case we need to print out how to use this program.
arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use of node tracker.");
arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName());
arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information");
osg::ref_ptr<osg::Node> scene = osgDB::readNodeFiles(arguments);
if (!scene)