PDA

View Full Version : How to generate movies...



Mat
07-01-2002, 01:56 AM
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

BlackJack
07-01-2002, 02:04 AM
??? "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

Questions Burner
07-01-2002, 03:28 AM
Go to nehe.gamedev.net, there's a tutorial on how to load an AVI format movie. Maybe it'll help.

Mat
07-01-2002, 03:29 AM
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

Gavin
07-01-2002, 05:50 AM
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.

Gavin
07-01-2002, 05:52 AM
http://developer.apple.com/products/qt4sdk.html

Mat
07-01-2002, 05:53 AM
Thanks !!

I will try this

Mat

Rob Fletcher
07-01-2002, 06:54 AM
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.Fisher/3dstuff/index.html

Enjoy!

Rob.

Mat
07-01-2002, 06:57 AM
Thanks !!!