I have created a graphic using Common Lisp, OpenGL, and glut. Specifically, I am using the library cl-opengl. I wish to save this graphic (which is made with connecting gl:vertex points) to an external file so that I can load it and manipulate it in future programs.
- How can I save the graphic drawn to the glut-window?
- How can I load a graphic from an image file?
- How do I manipulate a loaded image (such as copying, translating and rotating)?