Using the ReaderWriterGIF.cpp plugin, I'm able to load and play animated GIF
images. However, I need to flip the images vertically. I can only flip the
first frame.
Code:
osg::ref_ptr<osg::Image> img = osgDB::readImageFile("image.gif");
osg::ImageStream* imagestream = dynamic_cast<osg::ImageStream*>(img.get());
imagestream->flipVertical(); //ONLY FLIPS THE FIRST FRAME
imagestream->play();
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62890#62890
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org