Vertex Texture Co-ords

Blitz3D Forums/Blitz3D Programming/Vertex Texture Co-ords

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Would this be right?

For example (pseudo code):

1600x100 texture (16x 100x100 pixel tiles)
for frame = 1 to 16
 ;format vertex = x,y 

 vertex +1/+1 = (frame)*(1.0/16), 0
 vertex -1/+1 = (frame-1)*(1.0/16), 0
 vertex +1/-1 = (frame)*(1.0/16),1.0 
 vertex -1/-1 = (frame-1)*(1.0/16), 1.0
next