There are some pictures: 1)a texture I have 2)a line I have already drawed with triangle strip 3)the result I need to achieve
The question is how to draw a texture inside these segments which are usually not regular quads?
There are some pictures: 1)a texture I have 2)a line I have already drawed with triangle strip 3)the result I need to achieve
The question is how to draw a texture inside these segments which are usually not regular quads?
What do you mean, "usually not regular quads"? Are they quads or not?
If they are quads, just assign texture coordinates normally. The hardware will interpolate correctly.
If they are not quads, why don't you make them quads?