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 2 of 2

Thread: glReadPixels

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2011
    Location
    New Hampshrie
    Posts
    5

    glReadPixels

    Hi all -

    What I need to do is make a thumbnail of an opengl window image for when the window is not the foregroud window. I have it being rendered to the back buffer because if I do a SwapBuffers the image I want is there and in the bottom left corner and in the size I need. But glReadPixels just does not seem to work.

    I am not concerned about performance issues at this time. When the window is not the foreground window the image will be fairly static. I just need to put a thumbnail up in a different window.

    This is for a windows 7 system if that matters. I also saw a lot of people using frame buffer objects, but it seemed that the feature may not be available for all graphic cards.

    Thanks.

    - Brian

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,180

Tags for this Thread

Posting Permissions

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