|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: Can’t get my obj. files to connect with textures in the mtl. Files. » » » » Post: Re: Can’t get my obj. files to connect with textures in the mtl. Files. |
Print at Dec 15, 2025, 7:30:47 PM |
| Posted by Keet at Dec 11, 2024, 7:25:15 AM |
|
Re: Can’t get my obj. files to connect with textures in the mtl. Files. The materials in the mtl file have no mappings to the texture images. Fortunately you have a model with clear material names that you can connect to the correct texure image. Edit the mtl file and for each block that matches an image name add the line "map_Kd imagename.png" to the end of the block. For example: newmtl Screenbecomes: newmtl ScreenThere are 44 materials listed in the obj file but you only have 16 texture images. So start with adding the map_Kd lines for those 16 images and import the object in Sweet Home 3D. The other materials are just colors so you will have to select and set a color for those yourself in the modify object dialog. With the 16 textures mapped it should start to look like the model you want. It is mentioned on the sketchfab site that some details are missing, probably the missing correct color settings. I noticed that some textures are just images of a color square. You might consider changing the material in Sweet Home 3D from that texture to a similar color. It will reduce the size of your object and it wil render much faster. On the dodecagon.nl site there is a manual about changing material names and one that explains the MTL file. You might want to read those to understand what you are doing with materials. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 15, 2025, 7:30:47 PM |