Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: OpenGL textures.

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2013
    Posts
    6

    Post OpenGL textures.

    Dear Sir,

    I am newbie to OpenGL. I know basic texture drawing of a single raw RGB Video frame. I want to render a video at 25fps rate with different frames using textures. How I can accomplish this using OpenGL textures.

    Thanks and Regards,
    Anand

  2. #2
    Junior Member Newbie
    Join Date
    Oct 2013
    Posts
    7
    What is the source of your images? Are you having an encoded video format that you then decode, get individual frames?

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2013
    Posts
    6
    Dear Jyk1234,

    Thanks for your reply. Ya I am having decoded YUV or RGB individual video frames. Please suggest me how I should proceed further.

    Thanks and Regards,
    Anand

  4. #4
    Junior Member Newbie
    Join Date
    Oct 2013
    Posts
    6
    Dear Friends,

    I am waiting from so many days. No one is suggesting any solutions. Please give some tutorials or documentation or code snippets or hints to begin my learning as per my objective. Because OpenGL seems like vast, I don't have much time to learn all the things.

    Thanks and Regards,
    Anand

  5. #5
    Intern Contributor
    Join Date
    May 2013
    Posts
    60
    What you are looking for is simple steaming data from the system memory to the GPU memory. For that you use Pixel Buffer Objects http://www.songho.ca/opengl/gl_pbo.html
    Use 2 or more textures as ring buffer and upload the images a few frames (at last one) before you show/render them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •