I always wanted to know how to play videos in Irrlicht. Now I've made my own dynamic link library that loads videos (and images) to an Irrlicht texture.
here's a short example of how it's used:
Code: Select all
IVideoTexture *tex = createVideoTexture( "test.avi", device );
tex->play();
tex->getTexture(); //returns ITexture ptr
tex->playCutscene(); // play fullscreen video
//......
tex->drop();
http://files.filefront.com//;7570242;;/
new files can be found here (version 0.4.5):
http://files.filefront.com//;7586087;;/
[UPDATE]
and another one (version 0.5):
http://files.filefront.com//;7604391;;/
OpenGL and Direct3D are supported.
[UPDATE2]
new release, new features (v0.6):
- some bugs fixed
- capture devices supported
- callback function
- documentation
- (not compatible with previous releases)
Get it here:
http://files.filefront.com//;7762666;;/
[/UPDATE2]
gcc + msvc version and example included.