AVI Video textures |
29 July 2001 |
|
Description : |
This project uses
AVI video clips as textures for the objects. The AVI is loaded as a stream and
each frame is extracted and made into a BMP. The BMP data is then copied into
the texture data and the texture is updated.
There are two projects in this .ZIP file. The first is a simple rotating cube.
You can use your arrow keys to change the rotation of the cube.
The second project is based on an earlier project. Here the texture / video
clip image is warped while its playing.
For the second project, use your mouse to move the warp effect and the
following keys :
- Space : Toggles between Lens and Twist
- Keypad "+/-" : Increases/Decreases the Effect of the lens/twist
- Up/Down Arrow : Increases/Decreases the Radius of the lens/twist |
Download : |
280
KB (EXE and Source) |
|