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

Reply
 
Thread Tools Display Modes
Old 11-22-11, 08:49 PM   #1
Hans Witteman
Kaleun of U-3
 
Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,816
Downloads: 123
Uploads: 0
Default

Hi mate,

Glad to see you sorted out.

Best regards Hans
__________________




Hans Witteman is offline   Reply With Quote
Old 11-22-11, 11:37 PM   #2
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

If the material id postfix is missing in an mtl name (see the MTL S3D generates), S3D will first try to attempt to match materials by name, but will otherwise fall back to taking the order in which the materials are listed in the MTL file. So if the order is different, the material name not exactly matching that in S3D, and the id postfix is missing too, then it will cause incorrect uvmap index assignment as you have experienced.

There's a few ways you can work:
- always use material id's in the material name.
- always make sure each material name is unique (but this isn't always the case), but matching both in S3D and 3D app.
- if not, simply ensure you've got the same order of materials both in your 3D editor and S3D.

As such, I do not know why you still have this issue on your second attempt. Hope privateer can tell you.
skwasjer is offline   Reply With Quote
Old 11-23-11, 05:53 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Hi Mate,

I looked at the files and did an import with S3D.
Edit the MTL as you did the other building.
Blender is doing an oddball job on MTL things.
Why they would code it to do it that way is beyound me.

Add the cement texture to the assigned textures in S3D before importing your adjusted mesh.
You'll need to move the assigned textures in S3D up or down to get what you want.

I also saw that the original mesh has a few inverted faces so you may want to flip those.
And you may want to adjust the original UV's as the streakiness seems to be a weird UV layout when a different texture is used.

  Reply With Quote
Old 11-23-11, 06:49 PM   #4
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,710
Downloads: 300
Uploads: 0


Default

Quote:
Originally Posted by privateer View Post
Hi Mate,

I looked at the files and did an import with S3D.
Edit the MTL as you did the other building.
Blender is doing an oddball job on MTL things.
Why they would code it to do it that way is beyound me.

Add the cement texture to the assigned textures in S3D before importing your adjusted mesh.
You'll need to move the assigned textures in S3D up or down to get what you want.

I also saw that the original mesh has a few inverted faces so you may want to flip those.
And you may want to adjust the original UV's as the streakiness seems to be a weird UV layout when a different texture is used.

I have noticed the newer versions of S3ditor will render my ship's skins incorrectly. They show the exact same streaking problem. In the actual game engine they look fine. Not sure this is what's going on, but you might want to check.
iambecomelife is offline   Reply With Quote
Old 11-23-11, 06:56 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by iambecomelife View Post
I have noticed the newer versions of S3ditor will render my ship's skins incorrectly. They show the exact same streaking problem. In the actual game engine they look fine. Not sure this is what's going on, but you might want to check.

Yes, You are right.
I forgot S3D does not tile the textures the way most 3D modeling programs do.
So you'll need to check in Game.
  Reply With Quote
Reply

Thread Tools
Display Modes

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:31 PM.


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.