- Timestamp:
- 05/20/13 12:23:03 (2 hours ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgimagesequence/osgimagesequence.cpp
r12292 r13085 70 70 while (arguments.read("--length",length)) {} 71 71 72 double fps = 30.0; 73 while (arguments.read("--fps",fps)) {} 74 72 75 if (arguments.argc()>1) 73 76 { … … 87 90 } 88 91 } 92 89 93 90 94 if (length>0.0) … … 97 101 imageSequence->getImages().size()); 98 102 99 imageSequence->setLength( float(maxNum)*0.1f);103 imageSequence->setLength(double(maxNum)*(1.0/fps)); 100 104 } 101 105 }
