Quote:
Originally Posted by flakmonkey
I cant figure out just where this is coming from, the .obj files have NO references to this texture anywhere in them, the only texture in the file is NSS_Uboat7c_hull.tga, and yet still sh3 insists on using this darn deck texture.[/COLOR]
Ive tried everything but whatever i do the model still ends up with the wrong texture, whats going on??
(The new models were imported with version 1 of pack3d as versions 4-5 wont open the turm dat files and versions 2-3 wont import .obj files.)
|
Open the mtl file with a text editor, and make sure the entry for your texture is in the first place
For example :
#MTL generated by Pack3D NCA_Tuscaloosa.dat
newmtl NCA_Tuscaloosa
Ka 0.0 0.0 0.0
Kd 0.3 0.3 0.3
Ks 0.1 0.1 0.1
d 1.0
illum 1
Ns 0
map_Kd NCA_Tuscaloosa_T01.tga
newmtl Tuscaloosa_deck
Ka 0.0 0.0 0.0
Kd 0.3 0.3 0.3
Ks 0.1 0.1 0.1
d 1.0
illum 1
Ns 0
map_Kd Tuscaloosa_deck.tga
Here you have two textures NCA_Tuscaloosa and Tuscaloosa_deck, pack 3d uses the order in the mtl file to import the object so with this mtl file NCA_Tuscaloosa=material 0 and Tuscaloosa_deck=material 1
#MTL generated by Pack3D NCA_Tuscaloosa.dat
newmtl Tuscaloosa_deck
Ka 0.0 0.0 0.0
Kd 0.3 0.3 0.3
Ks 0.1 0.1 0.1
d 1.0
illum 1
Ns 0
map_Kd Tuscaloosa_deck.tga
newmtl NCA_Tuscaloosa
Ka 0.0 0.0 0.0
Kd 0.3 0.3 0.3
Ks 0.1 0.1 0.1
d 1.0
illum 1
Ns 0
map_Kd NCA_Tuscaloosa_T01.tga
with this mtl file NCA_Tuscaloosa=material 1 and Tuscaloosa_deck=material 0, the names you use are discarded, just the positoin in the mtl file matters.
The periscope has two textures, hull first, deck second, remember pack 3d uses the order in the mtl file when it imports the object
Ref