From the AddVertex() description within blitz :
The top left of an image has the uv coordinates 0,0.
The top right has coordinates 1,0
The bottom right is 1,1.
The bottom left 0,1.
The U\V co-ords should be this I presume :
LU = AddVertex(s, 0, 0, 0, 0, 0): RU = AddVertex(s, +1, 0, 0, 1, 0)
LD = AddVertex(s, 0,-1, 0, 0, 1): RD = AddVertex(s, +1,-1, 0, 1, 1)
You know, it must be hell to write a UV mapper with the math involved to make this stuff accurate when mapping the vertices for a texture.......not to mention having it make correction of precision-float errors....
|