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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-28-12, 02:10 PM   #1336
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

What do you see is wrong when you open it up with my app? I don't see anything that strikes me as wrong
TheDarkWraith is offline   Reply With Quote
Old 05-28-12, 02:12 PM   #1337
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Moment , i think i have send you a bad file ,wait a minute i send a new one
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 05-28-12, 02:13 PM   #1338
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Try to open it with 3DWings
Can I see the exported OBJ files from Wings3D for this change?
TheDarkWraith is offline   Reply With Quote
Old 05-28-12, 02:32 PM   #1339
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

This one have the texture : http://dl.dropbox.com/u/8655607/Periscope_3DsMax.zip

__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 05-28-12, 02:40 PM   #1340
Tomi_099
The Old Man
 
Join Date: May 2007
Location: München / Germany
Posts: 1,486
Downloads: 426
Uploads: 0
Default 3Ds-Max2013 (treal 30days)

I have this Problem !!

[IMG] Uploaded with ImageShack.us[/IMG]
__________________
http://www.thegreywolves.com
Tomi_099 is offline   Reply With Quote
Old 05-28-12, 02:43 PM   #1341
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
This one have the texture :
the dial's face has changed, that's all? I think I see why you think the app is in error. Currently the app will not set new materials for what it imports - it merely reads the data from the file. I haven't coded in the ability to see if the mtrl referenced in the OBJ file (and thus the MTL file's definition of it's physical file) exists and if so to set the subset's material to it (or create a new material and then set the subet's material to it)
TheDarkWraith is offline   Reply With Quote
Old 05-28-12, 02:45 PM   #1342
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Tomi_099 View Post
I have this Problem !!

[IMG]
What does the error say in English? I don't read German

I'll need to see the file you were trying to import, what kind of import you were trying (strict or loose), what mesh you were trying to import into, and what GR2 file you had opened
TheDarkWraith is offline   Reply With Quote
Old 05-28-12, 03:06 PM   #1343
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

When you import from 3DsMax ,you need to import export the AO in 3DsMax and check the option in editor to load both (but in loose mod)
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 05-28-12, 03:07 PM   #1344
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
the dial's face has changed, that's all? I think I see why you think the app is in error. Currently the app will not set new materials for what it imports - it merely reads the data from the file. I haven't coded in the ability to see if the mtrl referenced in the OBJ file (and thus the MTL file's definition of it's physical file) exists and if so to set the subset's material to it (or create a new material and then set the subet's material to it)
Not new material assigned this is the original,but 3dsmax export the map in the folder "Maps"
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 05-28-12, 03:46 PM   #1345
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
Not new material assigned this is the original,but 3dsmax export the map in the folder "Maps"
ah, so you're saying that the app didn't read the new map exported out by 3DsMax?
TheDarkWraith is offline   Reply With Quote
Old 05-28-12, 04:27 PM   #1346
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

No the texture are present after the import ,but no change
The editor does not assign the material (texture) that I modified on the panel behind the button with 3dsMax and ditto when I change the location of UVW
in the previous view (Post:#1339) the editor in the middle shows that it has not changed the texture, while in 3DsMax when exporting it's ok, as well that after import into 3Dwings
__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 05-28-12, 04:31 PM   #1347
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by BIGREG View Post
No the texture are present after the import ,but no change
The editor does not assign the material (texture) that I modified on the panel behind the button with 3dsMax and ditto when I change the location of UVW
in the previous view (Post:#1339) the editor in the middle shows that it has not changed the texture, while in 3DsMax when exporting it's ok, as well that after import into 3Dwings
I see a reason for this. I never coded in the reading of the mtl file I'm writing that code now
TheDarkWraith is offline   Reply With Quote
Old 05-28-12, 04:32 PM   #1348
BIGREG
Grey Wolf
 
Join Date: Oct 2005
Location: Bretagne-FRANCE
Posts: 813
Downloads: 155
Uploads: 0
Default

__________________
~~~~BigReg~BigRegOne~~~~



"Better watch where you do not go, because where were going, we will know what it is when we get there, and anyway, it will never be only water."

Proverbe Shadok
BIGREG is offline   Reply With Quote
Old 05-28-12, 04:53 PM   #1349
Tomi_099
The Old Man
 
Join Date: May 2007
Location: München / Germany
Posts: 1,486
Downloads: 426
Uploads: 0
Quote:
Originally Posted by BIGREG View Post
__________________
http://www.thegreywolves.com
Tomi_099 is offline   Reply With Quote
Old 05-28-12, 07:59 PM   #1350
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Somehow I totally overlooked coding in the reading of the MTL file in every version released to date That has since been taken care of in v1.1.188.1.

v1.1.188.1 also now writes the material's emissive to the MTL file on export (I overlooked that one also!)

Since SH5 does not use seperate maps for ambient, diffuse, or specular but instead uses one map for all three you should ensure your OBJ files have map_Ka, map_Kd, and map_Ks all specifying the same texture. If you don't then the texture read for map_Ks is what will be 'given' to mesh's subset's material.

When importing and you elect to import diffuse data and your MTL files reference textures for the maps and those maps are found then the app will assign those textures temporarily to the mesh's subset's material. I say temporarily because the material's pointer is not changed. All the material is told to do is replace it's current texture with the new one. Thus rendering is then done with the new texture. So if you save after importing the material's texture WILL NOT be changed in the GR2 file.

The material's properties WILL be changed. The ambient, diffuse, specular, and emissive colors will be updated in the material. The Ns value will also be updated. Thus if a save is done after importing these material properties will be saved to the GR2 file.

A new option has been added (Edit-->Options-->Camera-->Reset camera to default position on last file closed). If checked then the camera will be reset when the last opened file is closed. If not checked then the camera will stay where it is when last file is closed (maintains position and orientation).

TheDarkWraith is offline   Reply With Quote
Reply


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 04:15 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.