1
$\begingroup$

When exporting my Model and importing it into another engine, It require an Image file as the texture instead of a MTL file, so I was just wondering how I would accomplish changing the mtl to and image file

$\endgroup$
2
  • 1
    $\begingroup$ Investigate Baking with Blender. Baking records all the textures(plus lighting etc) as single result as if it had been rendered from multiple angles.What engine are you importing into? $\endgroup$
    – rob
    Oct 10 '18 at 9:00
  • $\begingroup$ Just wanted to ask the same :-) $\endgroup$
    – Ignatiamus
    Oct 10 '18 at 9:54
1
$\begingroup$

A MTL file is just a material definition. It doesn't contain image data. See here for further (all) details about the MTL file format: http://paulbourke.net/dataformats/mtl/

If you're using OBJ files, you need three things:

  • the model data as OBJ, contains vertices, faces, smoothing groups and texture coordinates, etc.
  • the texture(s) (any image format, e.g. PNG)
  • the material library file (which is referenced in your OBJ file)

See also:

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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