PDA

View Full Version : Texture coordinate calculation



Ferenzzy
10-10-2005, 10:20 AM
Hi,

I have to be sure about this: drawing a quad with corners (0,0), (10,0), (10,10) (0,10) only fills the rectangle (0,0), (9,0), (9,9), (0,9) so common lines with an adjacent rectangle are not drawn twice (according to the spec). What I didn't find in the spec is what happens to texture coordinates of the vertices (10,0) and (10,10). Do they get the values (1,0) and (1,1) or (9/10, 0) and (9/10), (9/10). Maybe you know or can point me to the right place in the specification.

Thanks!