sorry,I don't understand, why can't I use 0 to 1for u, v coordinate?Could you give me a example please? Thank you!
Read this article it's been a long time since I implemented this and don't remember all of the details anymore. The DX sample is adjusting the vertex coordinates instead of thet texture coordinates, it's better to fix the texture coordinates so they are in the range [0.5/width, 1 - 0.5 / width] for u and [0.5 / height, 1 - 0.5 / height] for v.
I am sorry,but i can't understand it at all,my English is not good enough, i can't read this article.But i still don't understand and it said"Most applications, however, use texture coordinates ranging from zero to one,inclusive, nonetheless.".
The things which i don't understand is 'models need to use u-coordinates in the range [.5/width, 1-.5/width] and v-coordinates in the range [.5/height, 1-.5/height].'why do we need to do that?
20 replies to this topic
Members - Reputation: 192
Posted 14 December 2012 - 02:51 PM