View Full Version : Saving a texture to file after using glCopyTexSubImage2d
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, 01: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.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.