NVil Forum
General Category => Bug Reports => Topic started by: Tiles on September 22, 2012, 11:54:05 am
-
When i export a geometry as obj then the material file, the *.mtl, gets named default.mtl. That way different Obj files all uses the same mtl file.
The exported object should create a *.mtl name that is the same name than the one from the *.obj file. So that each obj file uses its own mtl file. And you know which material depends to what obj file.
-
It is actually using the material name, make a new, material and name it.
-
Thanks Passerby. But that`s already the problem. It should use the name of the saved object for the mtl file. Else it is impossible to say what *.mtl file corresponds to what *.obj file.
Closer explanation: The mtl file itself is the textfile that contains the material settings. And is linked inside the obj file. The name of the material or the materials ( a mesh can have more than one material) needs to be stored within the mtl file. That`s the place where it belongs to. Not be used as the *.mtl name :)
-
It is actually using the material name, make a new, material and name it.
I do not see that.
Nvil (on .obj save) combines all objects, then names the material with the name it gives to the combined object nvil decides on, which is usually "object_combined.mtl"
-
fixed.
-
Yay :)