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
    Senior Member Regular Contributor
    Join Date
    May 2013
    Posts
    149
    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.

Similar Threads

  1. Replies: 3
    Last Post: 12-22-2015, 09:48 PM
  2. PVR textures in OpenGL
    By quint- iphone designer in forum OpenGL: macOS
    Replies: 2
    Last Post: 03-27-2010, 11:47 AM
  3. OpenGL DIB and Textures
    By nik_dude in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-29-2005, 04:25 AM
  4. 3D Textures in OpenGL 1.2.1?
    By in forum OpenGL: macOS
    Replies: 0
    Last Post: 02-12-2001, 05:48 PM
  5. Textures in OpenGL...
    By martho in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-17-2000, 02:23 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