Texture with TRIANGLE_STRIP
Hi,
I must put a texture over a 3d map made of triangles.
Those triangles are drawn using TRIANGLE_STRIP function.
I tried to set the right coordinates of the square map, but nothing.
this is the order of my map vertex:
_______________
|8\ 10\ 12\ 14|
|9 \11 \13 \15|
|_____________|
|0 \ 2 \ 4 \ 6|
|1 \3 \5 \7|
---------------
to texture this, I use : bottom left = 1
bottom right= 7
top left = 8
top right = 14
But It does not work.
I hope I did explain myself enough.
Thanks.
Rex.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement