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: Save rendering as animation

  1. #1
    Intern Contributor
    Join Date
    Feb 2000
    Location
    France
    Posts
    54

    Save rendering as animation

    Hi I saw some web pages were examples were shown with animated .gif images, and it was looking very good. So I wonder how to save the frame buffer into an animated gif file, or any image formt (even not animated), and if there is a way to render into a file rather than to the frame buffer.

    Thank u.
    Antoche

  2. #2
    Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    288

    Re: Save rendering as animation

    you can catch the framebuffer with glReadPixels()

    when you have the pixels, you save them to a common file, say jpg.

    then use some application to pack them into a gif: paintshop pro comes with a program to let you do stuff like this.

    Dolo/\/\ightY
    Dolo/\/\ightY

Posting Permissions

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