If it's false, you will only see the object (there will be no background).sp, ep and bp are used to make sure the user isn't holding a key down.After browsing the net for hours searching for AVI examples, I had just two sites bookmarked.I'm not going to say my search engine skills are amazing, but 99.9% of the time I have no problems finding what I'm looking for.As you may have noticed, our website was way overdue for a face lift. While all the old forum content has been migrated, we decided to delete the accounts and start from scratch, in order to eliminate all the spam accounts.Please register a new account if you want to post on the forums.It will be used to keep the framerate at a descent speed. frame is of course the current frame we want to display from the animation. I think it's safe to assume that if we managed to open the video, it HAS to have at least one frame of animation :) effect is the current effect seen on the screen (object: Cube, Sphere, Cylinder, Nothing). If it's true, then environment mapping is enabled, if it's false, the object will NOT be environment mapped.If bg is true, you will see the video playing fullscreen behind the object.
The last thing I wanted to mention is that NONE of the code has been borrowed, and none of the code has been copied.
We will use angle for all rotations just to keep things simple.
next is an integer variable that will be used to count how much time has passed (in milliseconds).
It was written during a 3 day coding spree, using information from the above mentioned sites and articles.
With that said, I feel it is important to note that my code may not be the BEST way to play an AVI file.