• Advertisement

Archived

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

Separate textures on adjacent faces

This topic is 5857 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

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement