Added playing of the imagesequence on creation of the imagesequence
This commit is contained in:
parent
45ccf11161
commit
b0cf7823a7
@ -52,6 +52,9 @@ osg::StateSet* createState()
|
|||||||
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negy.png"));
|
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negy.png"));
|
||||||
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posz.png"));
|
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/posz.png"));
|
||||||
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negz.png"));
|
imageSequence->addImage(osgDB::readImageFile("Cubemap_axis/negz.png"));
|
||||||
|
|
||||||
|
// start the image sequence playing
|
||||||
|
imageSequence->play();
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
osg::Texture2D* texture = new osg::Texture2D;
|
osg::Texture2D* texture = new osg::Texture2D;
|
||||||
|
Loading…
Reference in New Issue
Block a user