|
file path references are read with an extra '/'
This is a weird problem that involves one text file and one image file. The first is model.mtl, whose second line refers to the second file, model.jpg, as follows
map_Kd model.jpg
I however have this problem:
*.mtl files written in Linux are interpreted by most Windows apps as if 'model.jpg' had a '/' before it.
The file model.jpg doesn't load because the 3D apps understands that the path to model.jpg is:
//model.jpg
Obviously '/model.jpg' is not found.
It however should be read
/model.jpg
The command 'map_Kd' is interpreted by 3D apps as an instruction to load the file model.jpg. The model.mtl is the file that contains that instruction.
All 3D apps in Linux and else understand this.
The text files*.mtl are correct when opened in a text editor.
Those files where in the same directory when they were written by the Linux app.
What is happening?
Last edited by Melsync; 09-29-2005 at 09:37 AM.
|