Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.