   Adding a texture to a mesh in dx9
  hi there, im new to programing in c++ an directx9. i cant seem to figure out how to put a texture on to a mesh, i used blender3d to make the .x file, just a simple half sphere, and i got it loaded into my program, and i can import textures from files using D3DXCreateTextureFromFile, but when i SetTexture for the mesh it just has colour, never any texture. i hope i explained that right, as i said, totaly new to all this, excuse the spelling.let me know if anyone knows somthing.   
  Did you specify UV coordinates for your sphere? If you don't then all vertices on your mesh will sample the color at texture (0,0), and it will be a solid color.If you search UV mapping you'll find many many explanations if you don't understand what I'm talking about. You can do all of this in Blender also and export it with your mesh.Sorry if you already did this, but I'm assuming that you don't know anything other than what you've already said.   