I'm trying to ask a strange question!
Ok, suppose that I've a model and I draw it, after drawing, I read the frame buffer and I save the data on a image, and suppose that, I write the projected vertices of each triangle on a text file.
Now I can load the originale model (without textures), and texture it with the precedent image, the texture coordinates are the values stored in the text file.
It's clear?
Now, suppose that I would reorganize this image in another image, for example map each triangle to a right angle triangle. I post some images, to be more clear.
The original image, in practice is a "photo" of my model:

If I use the values stored in the text file, and this image, I can texture the original model with this image. Obviously the camera is in the same position and with the same parameters.
Now I would reorganize this image, so I map each triangle on a right angle triangle. I.e. construct a set of 34 right angle triangle, and use as texture coordinates, the values stored in the text file.
The result is this:

At this step, another text file is wrote, with the coordinates of this image.
Suppose that we take the original model (without textures) and we want to texture this model with this last image.
The result is this:

The result is "correct". Why I've quoted correct? Because there is a black line between the two triangles. You can see that, in the original image, this line doesn't exist.
It's like an a black line of pixels that are read. But for me the values stored in the text file, are correct.
For you, where is the problem?
Thanks.















