How to make a .mtl file from .obj file ? I just have the obj file of a Open quick haptics and i cant work with it without the mtl file,
Well, when I export mesh to OBJ format, it also creates an MTL file.
Google said that:
MTL file is an auxiliary file containing definitions of materials that may be accessed by an OBJ file.
If possible, you need to Import to Blender and then Export to OBJ. MTL file will be generated automatically.
A .mtl file contains information about the shader settings and linked textures. It gets automatically created when you export a file. The .obj file contains information like vertex positions, faces, uv mapping. Basically the 3D representation of the meshes. You cannot convert one from the other, as they contains different data sets. You could however import the .obj into Blender and then assign your own textures (or maybe you can find the original ones somewhere). The shader settings are very basic and you would need to change them either way, as it would, for example not import as a principled bsdf for instance. Depending on the shaders complexity, some features wouldnt even port properly if you had the .mtl...