Hi everyone,
I need some help. I have to run a simulation where I have to create and save an image after regular intervals of time sequentially so that I can join those images to make a movie.
glutCreateWindow(“XYZ”) creates only one window at a time and also cannot be saved.
So can anyone tell me -
How to save an OpenGl image.
How to create multiple images.
I am really a beginner …so please bear with me if my questions r very stupid.
Have a look at the fine documentation, particularly the red book (the OpenGL Programming Guide). GlReadPixels is what you use to save a screen buffer into memory so you can then save it to disk.