Community
Meshmixer
Welcome to Autodesk’s Meshmixer Forums. Share your knowledge, ask questions, and explore popular Meshmixer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Obj import in Meshmixer without texture

1 REPLY 1
Reply
Message 1 of 2
jack0daniels0
4766 Views, 1 Reply

Obj import in Meshmixer without texture

I have created a 3d object with texture in 3D builder. Whenever I try to import the obj file in Meshmixer, it loses its texture. I have the obj file in the same folder as the mtl file and the images. Does anyone know how to solve this issue? The mtl file reads as follows:

 

# Exported from 3D Builder

newmtl White
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126.jpg

newmtl black
Kd 0.000000 0.000000 0.000000

newmtl White_0
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_8_.jpg

newmtl White_1
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_4_.jpg

newmtl White_2
Kd 1.000000 1.000000 1.000000
map_Kd Roof_1_4_.jpg

newmtl White_3
Kd 1.000000 1.000000 1.000000
map_Kd Roof_1.jpg

newmtl White_4
Kd 1.000000 1.000000 1.000000
map_Kd Roof_1_2_.jpg

newmtl White_5
Kd 1.000000 1.000000 1.000000
map_Kd Roof_1_1_.jpg

newmtl White_6
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5124.jpg

newmtl White_7
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_7_.jpg

newmtl White_8
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5124_1_.jpg

newmtl White_9
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_5_.jpg

newmtl White_10
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_2_.jpg

newmtl White_11
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_3_.jpg

newmtl White_12
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_5_.jpg

newmtl White_13
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_4_.jpg

newmtl White_14
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_2_.jpg

newmtl White_15
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_7_.jpg

newmtl White_16
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119.jpg

newmtl White_17
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_1_.jpg

newmtl FrontColor
Kd 1.000000 1.000000 1.000000

newmtl White_18
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_6_.jpg

newmtl White_19
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_8_.jpg

newmtl White_20
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5119_3_.jpg

newmtl White_21
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_4_.jpg

newmtl White_22
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_1_.jpg

newmtl White_23
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5126_6_.jpg

newmtl White_24
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_7_.jpg

newmtl White_25
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_1_.jpg

newmtl White_26
Kd 1.000000 1.000000 1.000000
map_Kd Roof_1_3_.jpg

newmtl White_27
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_5_.jpg

newmtl White_28
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123.jpg

newmtl White_29
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_3_.jpg

newmtl White_30
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_6_.jpg

newmtl White_31
Kd 1.000000 1.000000 1.000000
map_Kd IMG_5123_2_.jpg

1 REPLY 1
Message 2 of 2
MagWeb
in reply to: jack0daniels0

First of all:

Importing a textured obj to MM only works if you use Import in MM (either on the startup splash screen or via file menu or (if there's a scene already) via the Import button on the left side bar).  It does NOT work if you do something like "open with" via OS file browser or dragging the obj onto the MM window.

-----

If you import MM should automatically set a texture shader for the textured object. But there were reports were users had to drag on of the "world" spheres (=texture shaders) from SHADERS onto the object.

-----

If this doesn't fix it:

What happens if you drag the checkerboard sphere (=UV shader) onto your object:

Shows the object a checkerboard pattern or is it in some pale pink?

If it is pale pink all over MM can't find the .mtl. So open the obj using some text editor. There should be a line at the beginning as "mtllib ./something.mtl". This links to a something.mtl in the same directory. Correct this line (or the mtl's file name) if necessary and reimport the obj to MM.

 

What happens if you drag one of the world spheres onto your object:

Does the object show some red color?

If so MM finds the .mtl but doesn't find the image files. So there's something wrong with the image filenames the mtl links to. Make sure the images have the very same names the .mtl calls.

 

If all that is fine:

Do textures show up in some third party app?

What's your graphics card? Did you try to update its drivers already?



Gunter Weber
Triangle Artisan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums