Results 1 to 2 of 2

Thread: video as texture on cube

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    4

    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
    Member
    Join Date
    Jun 2012
    Location
    Texas
    Posts
    61

    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:

    http://software.intel.com/en-us/article ... cy-2d-guis

    Regards, Clay

Similar Threads

  1. Problem video texture
    By Sylvain230 in forum WebGL - General
    Replies: 0
    Last Post: 04-22-2011, 06:31 AM
  2. glTexSubImage2D and cube map texture
    By HappyZappy in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 11-09-2010, 08: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
  •