Video as texture on cube

I know how to map an image to a cube.
But, how can I map a video (ogg, ogv, etc.) to a cube.
What are the differences to map a picture?
There are other functions?

The main complications of using a video stream for texture mapping are that the format of the image data must be converted from YCrCb to RGB color space and the timing of
the texture loads must be carefully synchronized to the source of the video frames.

This is easier to do on some embedded platforms (such as Android) than others. Typically, shader programs are used to perform the color space conversion and several EGL Image extensions are required, which are introduced here: … cy-2d-guis

Regards, Clay

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