Show
Ignore:
Timestamp:
01/23/07 15:43:07 (7 years ago)
Author:
robert
Message:

Added command line help

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgshadow/osgshadow.cpp

    r6031 r6035  
    141141    arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()); 
    142142    arguments.getApplicationUsage()->addCommandLineOption("-h or --help", "Display this information"); 
    143     arguments.getApplicationUsage()->addCommandLineOption("--with-base-texture", "Adde base texture to shadowed model."); 
    144     arguments.getApplicationUsage()->addCommandLineOption("--no-base-texture", "Adde base texture to shadowed model."); 
     143    arguments.getApplicationUsage()->addCommandLineOption("--positionalLight", "Use a positional light."); 
     144    arguments.getApplicationUsage()->addCommandLineOption("--directionalLight", "Use a direction light."); 
     145    arguments.getApplicationUsage()->addCommandLineOption("--addOccluderToScene", "Add the occluders geometry."); 
     146    arguments.getApplicationUsage()->addCommandLineOption("--noUpdate", "Disable the updating the of light source."); 
     147    arguments.getApplicationUsage()->addCommandLineOption("--base", "Add a base geometry to test shadows."); 
     148    arguments.getApplicationUsage()->addCommandLineOption("--noShadow", "Disable the shadows."); 
     149    arguments.getApplicationUsage()->addCommandLineOption("--two-sided", "Use two-sided stencil extension for shadow volumes."); 
     150    arguments.getApplicationUsage()->addCommandLineOption("--two-pass", "Use two-pass stencil for shadow volumes."); 
    145151 
    146152    // construct the viewer.