PDA

View Full Version : video mapping



jahshaka
07-19-2001, 10:20 AM
I just checked out the Vexture video mapping opengl screensaver... anyone know how to do this? mapp video to a opengl plane (either as a file or a sequence of images)

cyclone
07-23-2001, 04:44 AM
Not very difficult :
1) decompress the next compressed frame of the movie and load it into a texture
3) draw a quad that is mapped with this texture
4) make the SwapBuffer and goto 1

If your card can handle this at more that 25fps (but 50 fps is better :), than you can say that you have a "video mapped quad".

@+
Cyclone