Changeset 12182 for OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
- Timestamp:
- 02/23/11 12:28:43 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
r12181 r12182 980 980 arguments.getApplicationUsage()->addCommandLineOption("--cpu-tf","Apply the transfer function on the CPU."); 981 981 arguments.getApplicationUsage()->addCommandLineOption("--mip","Use Maximum Intensity Projection (MIP) filtering."); 982 arguments.getApplicationUsage()->addCommandLineOption("--isosurface","Use Iso surface render."); 983 arguments.getApplicationUsage()->addCommandLineOption("--light","Use normals computed on the GPU to render a lit volume."); 984 arguments.getApplicationUsage()->addCommandLineOption("-n","Use normals computed on the GPU to render a lit volume."); 982 985 arguments.getApplicationUsage()->addCommandLineOption("--xSize <size>","Relative width of rendered brick."); 983 986 arguments.getApplicationUsage()->addCommandLineOption("--ySize <size>","Relative length of rendered brick."); … … 1081 1084 while(arguments.read("--mip")) shadingModel = MaximumIntensityProjection; 1082 1085 1083 while (arguments.read("--isosurface") ) shadingModel = Isosurface;1084 1085 while (arguments.read("--light") ) shadingModel = Light;1086 while (arguments.read("--isosurface") || arguments.read("--iso-surface")) shadingModel = Isosurface; 1087 1088 while (arguments.read("--light") || arguments.read("-n")) shadingModel = Light; 1086 1089 1087 1090 float xSize=0.0f, ySize=0.0f, zSize=0.0f;
