From 9eba9df292ea435aa97dc03c609e9e8c05abf2c9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 Jun 2013 14:47:02 +0000 Subject: [PATCH] From Alberto Luaces, "Documentation for -p and --speed options in osgviewer" --- applications/osgviewer/osgviewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/osgviewer/osgviewer.cpp b/applications/osgviewer/osgviewer.cpp index 9b1506770..0977a4ec6 100644 --- a/applications/osgviewer/osgviewer.cpp +++ b/applications/osgviewer/osgviewer.cpp @@ -149,6 +149,8 @@ int main(int argc, char** argv) arguments.getApplicationUsage()->addCommandLineOption("--image ","Load an image and render it on a quad"); arguments.getApplicationUsage()->addCommandLineOption("--dem ","Load an image/DEM and render it on a HeightField"); arguments.getApplicationUsage()->addCommandLineOption("--login ","Provide authentication information for http file access."); + arguments.getApplicationUsage()->addCommandLineOption("-p ","Play specified camera path animation file, previously saved with 'z' key."); + arguments.getApplicationUsage()->addCommandLineOption("--speed ","Speed factor for animation playing (1 == normal speed)."); arguments.getApplicationUsage()->addCommandLineOption("--device ","add named device to the viewer"); osgViewer::Viewer viewer(arguments);