Print at Dec 20, 2025, 10:03:07 AM

Posted by hansmex at Feb 3, 2010, 12:28:26 PM
Re: SH3D refuses to save my file
WiB:

You may have renamed the files? That would explain a lot.

The OBJ and MTL file come as a pair. Now, inside the OBJ file the name of the MTL file is used. So if you change the name of the MTL file, you should also change the name of the reference TO that MTL file inside the OBJ file. Also you have to pay attention to the path that the reference to the MTL file. This is a relative reference. It is easiest to have OBJ and MTL file (plus pictures for textures) in the same directory, because then you don't have to specify the path.

I hope this is clear? If not, say so, and I will provide an example.

To change the reference to the MTL file, you can open the OBJ file with a simple text editor (Windows=Notepad, Ubuntu=gedit, Apple=?) and search for all references to the MTL file.

Let us hear if this solved your problem.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info