|
From: Roger H. <rog...@mi...> - 2004-02-13 12:58:21
|
On Friday, February 13, 2004, at 10:52 am, Tom Sanham wrote: > Hi, > > Does anyone know how to do the following?: > > Take a TriMesh in the shape of a cube (for example). > I wish to put a different texture on each square face, and have full > independent control over the u,v coords for that texture on that face. > > I cant see how to change the u,v coords for a texture > on just one face, because presumably I would have to change > a vertexAttribute which would affect all other faces that have that > vertex as a corner. > > Is this possible? Am I missing something obvious? > They do not have to be the same vertex, they just have the same 3D co-ordinates, that way you can have different normals and UVs on the vertices. Roger. |