Original Post
How do I save a texture to a file? I don't need to know how t format the data for a particular file type, I just need to know how to get the texture data. How is it done?
EDIT:
I tried using
glGetTexImage( GL_TEXTURE_2D, 0, GL_RGB, GL_UNSIGNED_INT, pPicture );
pPicture is "unsigned int pPicture[256*256*3];"
but I can't tell if the operation successfully filled pPicture with the correct data. How could I test it out?
[edited by - Mulligan on December 2, 2002 7:35:58 PM]