Results 1 to 2 of 2

Thread: Saving the screen as a bitmap

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Location
    Southampton England
    Posts
    13

    Saving the screen as a bitmap

    I heard that it is possible to call a function that writes the current screen to a picture file, is this true? Can anyone offer advice or help on this process.

    Also is it possible to write animation files as an output?

    Cheers Tom.
    Tom [img]/forum/images/%%GRAEMLIN_URL%%/smile.gif[/img]

  2. #2

    Re: Saving the screen as a bitmap

    glReadPixels doesn't write directly into a file but into a buffer where you can save it into any format you like. To save an animation you just have to grab each frame and store them using some lib or your own stuff.

Similar Threads

  1. Saving OpenGL screen as bitmap?
    By PowersWithin in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-31-2009, 04:54 PM
  2. saving canvas into bitmap problem
    By in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-14-2004, 02:15 PM
  3. Replies: 3
    Last Post: 01-16-2004, 08:33 AM
  4. Facing problem regarding saving the bitmap.
    By Amol Joshi in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-27-2002, 05:29 AM
  5. Saving screen to bitmap
    By David in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 09-28-2000, 10:13 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