开发者

Take screenshots in GLUT

I have a GLUT application and I want to take a sequence of screen captures of the window so I can later put it into a movie. Is there a function that takes the开发者_高级运维 contents of a window created by GLUT and puts it into an image file?


Use glReadPixels() to grab the framebuffer and dump the result using your favorite image handling library.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜