42

I am new to Blender. I downloaded a .obj file of a plant model. When I unzipped it I found two files (.obj and .mtl). I imported the .obj file and I couldn't do the same with the .mtl to apply the material and the textures.

iKlsR
  • 43,379
  • 12
  • 156
  • 189
user1468
  • 957
  • 2
  • 10
  • 12
  • 3
    When you import the obj it should read the associated .mtl file by default. Are you sure you aren't in wireframe view? Press Z to toggle this on/off. – iKlsR Nov 25 '13 at 15:07
  • i am having a similar problem where the mtl is showing in the 3d view but not in the rendered view. i cannot find an answer for this anywhere –  Apr 03 '14 at 05:00
  • @swim You probably don't have a texture on the object. – iKlsR Apr 03 '14 at 16:07

1 Answers1

39

When you import the .obj file, Blender will also import the associated .mtl file* by default as well which is usually the same name. The colors applied to the model will show in the viewport and to see the texture(s) (if any), enable texture shading with AltZ.

* This is the file that should be generated alongside the obj when it was created and will hold color data and paths to textures if any. Opening the obj file in a text editor should show this near the top.

iKlsR
  • 43,379
  • 12
  • 156
  • 189
  • 3
    Also note, the textures won't show in the model editor. You need to go to "Shading" to see them – Ben Winding Jan 24 '21 at 13:33
  • You may need to edit the plain text .mtl file. I just ran into this as the delivered .mtl file referred to two texture images with a hard coded Windows path. – user3183018 Dec 14 '21 at 01:41