When I load an animated gif file into osgmovie demo, the movie plays fine.  
However, the '+' key slows the movie down, and the '-' key speeds the movie up. 
 Why are the keys backwards?  I am using osg 2.8.3 on windows.

Also, in the demo, why is the pointer returned by the osgDB::readImageFile 
casted to an ImageStream as opposed to an ImageSequence (it failes to cast to 
an ImageSequence)?  I guess I'm not sure what the difference between the two 
are.  The implementation for the speed up and down are missing in the 
ImageStream class:

Code:
virtual void setTimeMultiplier(double) {}
virtual double getTimeMultiplier() const { return 0.0; }


but the implementation is present in the ImageSequence class:

Code:
virtual void setTimeMultiplier(double tm) { _timeMultiplier = tm; }
virtual double getTimeMultiplier() const { return _timeMultiplier; }


ImageSequence is the only class I see that inherits from ImageStream.

Thanks,
Brian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32668#32668





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to