Ugh! So close!
I need help with texturing *sigh* I suck at this. haha
I've been following the oolite wiki guide for texturing.
(
http://wiki.alioth.net/index.php/OXP_howto_texture)
Everything seemed to go okay, however the texture maps just aren't showing up.
I did the UV, made my 'texture', imported into Wings3D, it looks fine in Wings3D.. made the image internal
I exported as a .obj + .mtl file (it also spat out a .tga file)
I opened the mtl file in notepad and changed the reference to the tga file to png, changed the tga to a png (still looked fine)
Then I put the obj + mtl files in the Python folder and went:
Start>run>cmd
cd python25
obj2dattex.py Arwing.obj
it spat out the .dat file, placed it in AddOns>Arwing.oxp>Models
Placed the png into Arwing.oxp>Textures
What am I missing?
One thing that is odd is that when I open the .dat file in notepad and compare it with another ship (the stingray.oxp one) mine's missing a huge chunk of data from the bottom.
The stingray one has a section named TEXTURES near the bottom which has stuff like:
TEXTURES
ship.png 1.0 1.0 0.68321 0.44824 0.68321 0.45962 0.71855 0.44824
ship.png 1.0 1.0 0.32020 0.33296 0.31766 0.34737 0.27561 0.32510
where as when I open mine, the only reference it has to textures is one line right at the top:
// output from Obj2DatTex.py Wavefront text file conversion script
// (c) 2005 By Giles Williams
//
// original file: "Arwing.obj"
//
// model size: 17.487 x 7.596 x 31.311
//
// textures used: ['Arwing_texture.png']
But after the FACES section, it ends. (END)
I'm guessing this is the problem... but I have no idea how to sort it or why it's happening.
I don't know if it's related, but also the .mtl file that Wings3D spat out was really short:
# Exported from Wings 3D 0.99.02
newmtl N-Gon1_auv
Ns 100.000
d 1.00000
illum 2
Kd 1.00000 1.00000 1.00000
Ka 1.00000 1.00000 1.00000
Ks 1.00000 1.00000 1.00000
Ke 0.00000e+0 0.00000e+0 0.00000e+0
map_Kd Arwing_texture.png
I'm not sure if it's supposed to be that way or not.