glGetTexImage is the correct call to readout a downloaded texture, but I haven't ever seen an app using that. Supposedly slooow.

Korval

03-30-2001, 12:14 PM

Converting a UV coordinate into a 2D point is pretty easy (put the UV into the range [0,1] and just multiply by the resolution of the texture).

I would suggest that, if you frequently need access to the texture (either to read or write), don't delete the texture you pass to glTexture2D. Keep it around and, if you change the data, make another call to glTexture2D.