video mapping

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)

Not very difficult :

  1. decompress the next compressed frame of the movie and load it into a texture
  2. draw a quad that is mapped with this texture
  3. 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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.