Jump to content
  • Advertisement
Sign in to follow this  
brett01

Texturing a cylinder

This topic is 3106 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 am using a cylinder for creating wheels of a model. I created the cylinder on my own and the caps of the cylinder are created using triangle strips. How can I texture those caps?? Thanks & Regards, Brett.

Share this post


Link to post
Share on other sites
Advertisement
Texturing is done ever the same: Send a texture co-ordinate tuple (or triple) with each vertex. This is independent on whether you use a soup, strip, or fan, and also triangles or quads.

The only thing you have to consider in general is that a vertex (not only the vertex position but the vertex as a whole) includes the texture co-ordinate, so that 2 vertices that differ (only) in texture co-ordinates are nevertheless 2 distinct vertices.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!