View Full Version : Saving a texture to file after using glCopyTexSubImage2d

08-29-2003, 10:05 AM
How can I save a texture to file after changing it using glCopyTexSubImage2d? I am currently using tk to load the texture from .sgi, but any format would do, .tga or whatever. Do any libraries do this or do I need to write the code myself (argh)?


08-29-2003, 02:43 PM
Use glGetTexImage to get the raw texture data, then save that to the file format of your choice using some library, or your own code.