Added playing of the imagesequence on creation of the imagesequence
This commit is contained in:
parent
45ccf11161
commit
b0cf7823a7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user