Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the significance of MeshTextureCoords element in a .x Mesh file?

share|improve this question

Don't they kind of make it obvious? The name 'MeshTextureCoords' makes me think of Texture Coords of a Mesh.

share|improve this answer
How to specify the texture co-ordinates if the .x file does not have one? – bdhar Aug 6 '10 at 3:32
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. – MrCranky Aug 6 '10 at 10:26

I'm going to go way out on a limb here, and suggest that they specify texture coordinates for the mesh.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.