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: Where can I get some example for write ogl image to a file?

  1. #1
    Guest

    Where can I get some example for write ogl image to a file?

    Hi:

    Can anybody tell me how to write the ogl screen to a file? Or tell me where can I find some example code.

    Thanks

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    668

    Re: Where can I get some example for write ogl image to a file?

    well it aint too hard. glreadpixles to get the buffer data. Then use quicktime or jpeglib to save the data. I expect jpeglib has such an example.

    gav

Posting Permissions

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