0
$\begingroup$

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,

$\endgroup$
0
$\begingroup$

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.

$\endgroup$
0
$\begingroup$

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...

$\endgroup$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.