more uv coordinates per vertex

Posted By: Dark_samurai

more uv coordinates per vertex - 02/12/12 18:42

Hi,

I'm wondering how it's possible to assign more than one uv coordinate to a vertex? Currently I'm giving every vertex in the vertex buffer one uv coordinate. If I want a vertex to have more than one uv coordinate I would have to create more vertices.

But according to this wikipedia article, uv coordinates are managed per face and not per index: link to Wikipedia
Quote:
UV coordinates are applied per face,[3] not per vertex. This means a shared vertex can have different UV coordinates in each of its triangles, so adjacent triangles can be cut apart and positioned on different areas of the texture map.


So how can this be done without the need of creating additional vertices?

Thanks for your help!
© 2024 lite-C Forums