Sign in to follow this  
brett01

Texturing a cylinder

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this