Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Rex17

Texture with TRIANGLE_STRIP

This topic is 6071 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!