Browse files

From Alberto Luaces, "Documentation for -p and --speed options in osg…

  • Loading branch information...
1 parent 22e49af commit 86368767509d1faf38c67217eb9325451de5586d @osg-training-guest osg-training-guest committed Jun 28, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 applications/osgviewer/osgviewer.cpp
2 applications/osgviewer/osgviewer.cpp
@@ -149,6 +149,8 @@ int main(int argc, char** argv)
arguments.getApplicationUsage()->addCommandLineOption("--image <filename>","Load an image and render it on a quad");
arguments.getApplicationUsage()->addCommandLineOption("--dem <filename>","Load an image/DEM and render it on a HeightField");
arguments.getApplicationUsage()->addCommandLineOption("--login <url> <username> <password>","Provide authentication information for http file access.");
+ arguments.getApplicationUsage()->addCommandLineOption("-p <filename>","Play specified camera path animation file, previously saved with 'z' key.");
+ arguments.getApplicationUsage()->addCommandLineOption("--speed <factor>","Speed factor for animation playing (1 == normal speed).");
arguments.getApplicationUsage()->addCommandLineOption("--device <device-name>","add named device to the viewer");
osgViewer::Viewer viewer(arguments);

0 comments on commit 8636876

Please sign in to comment.