Separate textures on adjacent faces

Started by
0 comments, last by rothko 22 years, 2 months ago
hello i wonder if anyone might be able to clarify my thinking, or maybe answer a question I am using an index buffer, and a vertex buffer to describe a model. The texture coordinates are stored in the vertex buffer, with each point. As I understand it, this means that two triangles that share an edge, will share two texture coordinate pairs. However I want to have more freedom in the choice of the texture that gets mapped onto a face. So my question is : How would I associate a texture coordinate with each member of the index buffer, instead of each member of the vertex buffer ? Many thanks, Chris
Advertisement
On single models, it is becoming fairly typical to use only one texture and wrap it around the model. If you need more, you need more vertices, which in fact is what the 3ds exporter does. For each face that uses a texture, the exporter will seperate the face.

Jim Adams

This topic is closed to new replies.

Advertisement