Added playing of the imagesequence on creation of the imagesequence

This commit is contained in:
Robert Osfield 2008-09-10 11:27:00 +00:00
parent 45ccf11161
commit b0cf7823a7

View File

@ -53,6 +53,9 @@ osg::StateSet* createState()
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posz.png"));
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negz.png"));
// start the image sequence playing
imageSequence->play();
#if 1
osg::Texture2D* texture = new osg::Texture2D;
texture->setFilter(osg::Texture::MIN_FILTER,osg::Texture::LINEAR);