im still working on my first oxp-ship. I want to add lights and i made a texture for this but i dont know, how to save multiple textures in one .dat-model. Im using blender and i tried to open additional to the normal texture the light-texture or to create a new picture but when i try to convert the .obj+.mtl-files with "Obj2DatTex.py" to a .dat-file it shows me only the message:
Code: Select all
['tsoj_Boomslang-mkIII.obj']
tsoj_Boomslang-mkIII.obj->tsoj_boomslang-mkiii.dat
going to open material library file: tsoj_Boomslang-mkIII.mtl
[b]Material Material -> C:\Users\tsoj\Documents\Ships\tsoj_Boomslang-mkIII.png[/b]
done
In my shipdata.plist file i have:
Code: Select all
materials =
{
"Hull" =
{
diffuse_map = "tsoj_Boomslang-mkIII.png";
specular_color = (0.2, 0.2, 0.2);
shininess = 5;
emission_map = "tsoj_Boomslang-mkIII-lights.png";
};
};
Im thinking, that the problem is, that i dont know how to integrate multiple texures in one .dat-file. Who knows how to do this with blender?