mtl is not visible

mtl is not visible

Anonymous
Not applicable
1,712 Views
4 Replies
Message 1 of 5

mtl is not visible

Anonymous
Not applicable

I understand that the obj and mtl file have to be in the same folder and I checked to make sure the mtl file was indicated in the obj text file (which it is with no illegal characters) but mesh mixer will not show me any textures, only a white meshed model. 

0 Likes
1,713 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

Besides the obj geometry file and the .mtl a textured .obj needs some image file as well (.bmp, .jpg, .png).

The .mtl needs to link to that image file. Opening the .mtl of a textured mesh in a text editor there should be at least two lines:

newmtl defaultMat
map_Kd someImage.bmp

The material name in the "newmtl" line may be different.

The second line expects a file named "someImage.bmp" in the same directory as the .mtl

0 Likes
Message 3 of 5

Anonymous
Not applicable
Oh okay. Thanks for reaching out. I don’t have an associated texture file because we preferred the model without. I was under the impression that the mtl was a shaded mesh file so that would be enough but I guess you’re saying it is necessary to have to texture file as well. Also, is there a number of polygon limit? I have a high polygon count so was wondering if that could be another reason why other files that I have that do have associate texture files are not loading.
0 Likes
Message 4 of 5

Anonymous
Not applicable

Never found some software limitations in MM. Just tried to load a 1.49GB obj file (24'485'888 tris) plus a 8192x8192 texture image (201.3 MB): Works here (admit: Things are getting slow .... and some tools might overload resources ... but pure loading definitely works if one is patient).

 

In general a .mtl can define material shading without a texture as well (color, transparency, reflectivity a.s.o.). BUT MM simply does not support those definitions (except the texture information). Other third party apps might support only some of the definitions (maybe color and reflectivity but no transparency...) Shipping materials via .mtl files is an adventure of try and error.

0 Likes
Message 5 of 5

Anonymous
Not applicable
Thank you so much for the feedback. This helps!
0 Likes