MTL Viewer: See an OBJ with Its Materials
An MTL file holds the colours and texture names for an OBJ model. Drop the OBJ, the MTL and the images together and see the textured model in 3D, right in your browser.
To view an MTL file, open it together with its OBJ model and texture images; the MTL only lists materials and texture names. MeshShift's free viewer matches the files by name in your browser, shows the textured model in 3D, names any missing texture, and shows materials solid when an exporter's "Tr 1" or "d 0" line would make them invisible. Nothing is uploaded.
In short: An MTL file cannot be viewed on its own: it is a text file of material definitions (colours, shininess, transparency and texture image names) that an OBJ model points to with an mtllib line. To view it, select or drag the OBJ, the MTL and every texture image together into the viewer above.
MeshShift matches the files by name, applies the materials and shows the textured model in 3D, where you can orbit, measure it in millimetres and switch to wireframe. Nothing is uploaded and there is no sign-up. If a texture is missing, the viewer names the file it is looking for, so you know what to add. It also fixes a common trap that makes models look empty in other viewers: many exporters write "Tr 1" or "d 0", which three.js-based viewers read as fully transparent; MeshShift shows those materials solid and tells you. When it looks right, you can convert the model to GLB to pack geometry, materials and textures into one file.
How to use the MTL Viewer
- Collect the OBJ, the MTL and the texture images in one folder.
- Select or drag all of them into the viewer together.
- Orbit and inspect the model; fix any file the viewer says is missing.
- Optionally convert to GLB to keep everything in one file.
| Check | Typical online OBJ viewer | Desktop apps (Blender, MeshLab) | MeshShift MTL viewer |
|---|---|---|---|
| Reads MTL and textures | Most | Yes | Yes, loose files matched by name |
| Names missing textures | Rarely | In a log | Yes, on screen |
| Fixes invisible "Tr 1" materials | No, shows empty scene | Manual edit | Automatic, with a note |
| Measure in mm | Rarely | Yes | Yes |
| Install or upload | Sometimes upload to share | Install | Neither |
What is in an MTL file
MTL (Material Template Library) is the companion to OBJ. Each newmtl block names a material and lists properties:
- **Kd:** diffuse colour, the main colour of the surface.
- **Ks and Ns:** specular colour and shininess.
- **d or Tr:** opacity, or its inverse, transparency.
- **map_Kd:** the image file used as the colour texture.
- **map_Bump / bump:** a bump or normal map.
The OBJ says which material each group of faces uses. Without the MTL, the model shows plain grey; without the images, it shows flat colours.
Why textures do not show, and how to fix it
- **Files not dropped together.** The browser can only read files you give it. Select the OBJ, MTL and all images at once.
- **Renamed or missing images.** The MTL names exact file names. The viewer lists any it cannot find; rename your image to match, or edit the map_Kd line.
- **Folders in the path.** Paths like textures\wood.jpg are fine here: the viewer matches by file name only.
- **TGA or TIFF textures.** Browsers cannot decode these formats. Save them as PNG or JPG and update the MTL.
The invisible model problem
A frequent complaint on forums is an OBJ that loads but shows nothing. The cause is usually a line such as "Tr 1" for every material. Some programs write Tr as opacity, others as transparency, so a value of 1 can mean solid or invisible depending on who reads it. Viewers built on three.js treat it as invisible. MeshShift detects materials that end up fully transparent, shows them solid, and tells you how many it changed, so you see the model straight away.
Viewing, measuring and converting
Once loaded, you can orbit, zoom, see the bounding box in millimetres and toggle wireframe to inspect the mesh. Wireframe is handy for spotting where a texture seam or a missing face sits, and the size readout tells you whether the exporter used metres, centimetres or inches, which you can correct from the unit menu. To share the model as a single file, convert it to GLB, which embeds the materials and textures. To 3D print it, convert to 3MF to keep colours for a multi-colour slicer, or to STL for shape only.
Compared with other OBJ and MTL viewers
Several free viewers read MTL, but few tell you which texture is missing, and most show an empty scene when materials are marked transparent. Some ask you to zip the folder or upload it to share a link. MeshShift reads loose files, explains what is missing, fixes transparent materials, measures in millimetres and converts in the same place, all without uploading anything.
Frequently asked questions
How do I open an MTL file?
Open it together with its OBJ and texture images. An MTL alone has no geometry; it only describes materials for the OBJ.
Why is my OBJ grey?
The MTL file was not loaded with it, or the OBJ has no mtllib line. Drop the OBJ and MTL together.
Why are the textures missing?
The image files were not dropped, are named differently from the MTL, or are TGA/TIFF. The viewer lists the missing file names.
Why does my model look invisible?
Its MTL marks materials fully transparent (often "Tr 1"). MeshShift shows them solid automatically.
Are my files uploaded?
No. Everything is read in your browser.



