What is the significance of MeshTextureCoords element in a .x Mesh file?
2 Answers
\$\begingroup\$
\$\endgroup\$
2
Don't they kind of make it obvious? The name 'MeshTextureCoords' makes me think of Texture Coords of a Mesh.
-
\$\begingroup\$ How to specify the texture co-ordinates if the .x file does not have one? \$\endgroup\$bdhar– bdhar2010-08-06 03:32:47 +00:00Commented Aug 6, 2010 at 3:32
-
\$\begingroup\$ The artist who creates the mesh needs to texture it, by applying sensible texture coordinates that map the texture over the mesh. While some primitives (cylinders, planes) can have texture coordinates automatically generated for them, if you have a complex mesh without texture coordinates, in general you won't be able to texture it sensibly. \$\endgroup\$MrCranky– MrCranky2010-08-06 10:26:10 +00:00Commented Aug 6, 2010 at 10:26
\$\begingroup\$
\$\endgroup\$
I'm going to go way out on a limb here, and suggest that they specify texture coordinates for the mesh.