mesh icon indicating copy to clipboard operation
mesh copied to clipboard

Material missing when importing obj file into blender, possible solution

Open jufi2112 opened this issue 3 years ago • 1 comments

Hi,

I don't know if I'm the only one, but when I try to load an obj file with applied material / texture into blender, blender does not show the material (meshlab works fine). The reason is a missing keyword usemtl (see here) that has to be added to the obj file before the line with the first face definition (see example at the bottom of the linked page). I don't know whether this code is still updated, but I thought I'd leave this here so people with the same problem may find it.

jufi2112 avatar Nov 05 '22 02:11 jufi2112

Thanks!Your idea is working successfully on my machine!I just add 'usemtl materialname' (without .mtl) before the first face definition,the obj model can be textured correctly

studycat520 avatar Sep 14 '23 08:09 studycat520