Blender to Moho .obj import preserving textures
Posted: Mon Dec 18, 2023 7:02 pm
This is for those who scratch their heads when image textures (png/jpeg) are black in
Moho after importing 3D objects made in Blender.
First:
Correct texture path for .mtl file
When you export .obj from blender it also creates
a .mtl file where texture path is stored.
The .mtl file must have correct path
to where the texture image (jpg/png) is located.
Don't use absolute paths for texture images = C:/User/Folder/etc...
Use relative paths = textures/img.jpg
Open the .mtl file in a text editor.
Second:
Edit the path after "map_Kd" to where the texture image is located:
Example path with no subfolder
for image texture "cm1.png":
map_Kd cm1.png
--------------------------------------------------------------------
Example path with subfolder called "textures" for
image texture "cm1.png":
map_Kd textures/cm1.png
If everything is done correct your texture should appear in Moho if you import the 3D .obj file.
--------------------------------------------------------------------
Third:
Setup 3d object in Moho.
import .obj into moho.
Go to layer settings and disable:
Edges: Sillhouettes/Materials/Creases
Remove backfacing: uncheck
Shading:
Use Toon or Smooth shading
-
Moho after importing 3D objects made in Blender.
First:
Correct texture path for .mtl file
When you export .obj from blender it also creates
a .mtl file where texture path is stored.
The .mtl file must have correct path
to where the texture image (jpg/png) is located.
Don't use absolute paths for texture images = C:/User/Folder/etc...
Use relative paths = textures/img.jpg
Open the .mtl file in a text editor.
Second:
Edit the path after "map_Kd" to where the texture image is located:
Example path with no subfolder
for image texture "cm1.png":
map_Kd cm1.png
--------------------------------------------------------------------
Example path with subfolder called "textures" for
image texture "cm1.png":
map_Kd textures/cm1.png
If everything is done correct your texture should appear in Moho if you import the 3D .obj file.
--------------------------------------------------------------------
Third:
Setup 3d object in Moho.
import .obj into moho.
Go to layer settings and disable:
Edges: Sillhouettes/Materials/Creases
Remove backfacing: uncheck
Shading:
Use Toon or Smooth shading
-