SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-27-07, 06:52 AM   #7
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

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
__________________
ref is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.