Results 1 to 2 of 2

Thread: video as texture on cube

  1. #1
    Junior Member
    Join Date
    Aug 2012

    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?

  2. #2
    Join Date
    Jun 2012

    Re: video as texture on cube

    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

Similar Threads

  1. glTexSubImage2D and cube map texture
    By HappyZappy in forum OpenGL ES
    Replies: 1
    Last Post: 11-09-2010, 07:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean