Jump to content
  • Advertisement

Archived

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

maciej

Mapping textures on triangle strips :-(

This topic is 5921 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 All users! Today is nice occasion to wish you success in your WORK. INTERNATIONAL DAY of WORK!!! But there is also a problem: Do you know how to map textures onto triangle strips? First is a polygon. Next I divide it into many triangles (100..1000). When I have many points in specific order I can generate triangle strips. Now I''d like to map textures on these triangles. But how to generate texture coordinates? For each loop iteration I have only one point''s coordinates... So I don''t know how to give three remaining points (except origin point, which can be the next strip point). I need to draw triangle strips, because I have many polygons which I have to divide into small triangles. Will the texture remain in polygon shape? Please help.... Very thanks for reading this message. Ploretariat poeple from every countries: unite each other! :-))

Share this post


Link to post
Share on other sites
Advertisement
tri strips are no different to triangles
if it helps imagine they are tris + use the same texture coordinates

http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!