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

Thread: How to generate movies...

  1. #1
    Intern Contributor
    Join Date
    Apr 2002
    Posts
    51

    How to generate movies...

    Hi,

    do you know an easy way to generate movies from OpenGL animation ?
    Do you know where I could find examples ?

    Thanks a lot
    Mat

  2. #2
    Junior Member Regular Contributor
    Join Date
    Nov 2001
    Posts
    141

    Re: How to generate movies...

    ??? "OpenGL animation" ???
    OpenGL doesn't support any type of animations, it's a low level API, you know.

    You want to use animated textures?

    BlackJack

  3. #3
    Junior Member Regular Contributor
    Join Date
    Nov 2001
    Location
    Malaysia
    Posts
    112

    Re: How to generate movies...

    Go to nehe.gamedev.net, there's a tutorial on how to load an AVI format movie. Maybe it'll help.

  4. #4
    Intern Contributor
    Join Date
    Apr 2002
    Posts
    51

    Re: How to generate movies...

    Hi,

    in fact I do not know how to describe it. I am new in OpenGL world.

    Just like you have a cube and you make a rotation on this cube.. Then you want to generate a movie from this..

    Mat

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

    Re: How to generate movies...

    glReadPixels(...) at each frame and save the data in an appropriate format, i.e. bmp, tga or whatever. so you get frame01.bmp and so on. Use other software to create the movie. Or maybe look at something such as the quicktime libraries, which may do this sort of thing.

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

    Re: How to generate movies...


  7. #7
    Intern Contributor
    Join Date
    Apr 2002
    Posts
    51

    Re: How to generate movies...

    Thanks !!

    I will try this

    Mat

  8. #8
    Junior Member Regular Contributor
    Join Date
    May 2002
    Location
    York, UK
    Posts
    128

    Re: How to generate movies...

    Hi,

    Your request is how to make AVI movies ...

    Here's a useful ref to some code to do
    just this ... uncompressed, cross platform
    stuff.
    http://cs.anu.edu.au/people/Hugh.Fis...uff/index.html

    Enjoy!

    Rob.

  9. #9
    Intern Contributor
    Join Date
    Apr 2002
    Posts
    51

    Re: How to generate movies...

    Thanks !!!

Posting Permissions

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