XCode has the ability to capture Opengl ES frames from the iPad, and that’s great! I would like to extend this functionality and capture an entire Opengl ES movie of my application. Is there a way for that?
if it’s not possible using XCode, how can i do it without much effort and big changes on my code? thank you very much!
XCode has the ability to capture Opengl ES frames from the iPad, and that’s
Share
I use a very simple technique, which requires just a few lines of code.
You can capture each OGL frame into UIImage using this code:
Then you will capture each frame in your main loop:
At the end you will have tons of JPEG files which can be easily converted into a movie by
Time Lapse Assembler
If you want to have nice 30FPS movie, hard fix your calc steps to 1 / 30.0 sec per frame.