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


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
    Aug 6 '10 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
    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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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