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 06-14-17, 06:29 AM   #1
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
cool BREST rebuilding

Hi,

In agreement with gap and HanSolo78, I'm going to start to create a new harbour for Brest, based on the real one.

Here what it's going to look like, compared to the actual SH3 harbour (in red the current U-Boot bunker, in blue the actual one ; the small black crosses show the land squares which have to be deleted) :


Last edited by Kendras; 06-14-17 at 02:45 PM.
  Reply With Quote
Old 06-14-17, 07:56 AM   #2
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

The harbour :

  Reply With Quote
Old 06-14-17, 10:37 AM   #3
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Exclamation

Quote:
Originally Posted by gap View Post
... once imported into S3d it will look okay again
Thank you very much for this tutorial ! I didn't know the "Image plane" function. So, all went well, until I tried to import the object in S3D. Error message : "The file contains quads or polygons. Only triangles are supported." So I tried to triangulate the model, but now the S3D error message is : "The file has 12 uvwmap indices while the main obj-file has 36 vertex indices. This number must be equal."
  Reply With Quote
Old 06-14-17, 02:36 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Thank you very much for this tutorial ! I didn't know the "Image plane" function. So, all went well, until I tried to import the object in S3D. Error message : "The file contains quads or polygons. Only triangles are supported." So I tried to triangulate the model...
Sure, my bad for not telling you that you had to triangulate faces before exporting the model.
The quickest/safest way to do it, is to selct the whole object in body selection mode, switch then to face selection mode, right click, and choose Tessellate => Triangulate. This way you wont miss any face


Quote:
Originally Posted by Kendras View Post
...but now the S3D error message is : "The file has 12 uvwmap indices while the main obj-file has 36 vertex indices. This number must be equal."
Never had this message before
Can you upload somewhere obj, mtl and dat files that you are working with and give me the link?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 06-14-17, 02:48 PM   #5
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Never had this message before
Can you upload somewhere obj, mtl and dat files that you are working with and give me the link?
Here : http://www.mediafire.com/file/phi8zz...est_map_obj.7z
  Reply With Quote
Old 06-14-17, 03:40 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Okay, I got it

When Wings creates an image plane, the plane is actually a flattened 6-faces polygon whose sides are so small that you dont even notice them. Those faces are not UV mapped, but S3d requires all the faces to have UV coordinates.
The quickest "fix" for your map polygon is as follows:

- select it in body selection mode, switch to face selection mode, right click, Tesselate => Untriangulate.

- Press space bar to unselect all and in face selection mode select one of the big faces (the one pointing down, whose texture is mrrored)

- Press the "F" key on your keyboard. Doing this will extend the face selection to all the faces sharing an edge with the face originally selected (i.e. to the flattened, non-UV-mapped faces encircling the map polygon). If all worked correctly, at this point you should have 5 faces selected (check it from the left corner of the top info bar).

- Unselect the lower face if you want to keep it, right click and select "Hole" to remove all the faces still selected. This should leave you with a geometry with only 1 or 2 faces.

- Select all the remaining faces, triangulate them again and export to obj file
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 06-14-17, 03:40 PM   #7
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

So, here are the different parts to create :

  Reply With Quote
Old 06-14-17, 03:45 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
So, here are the different parts to create :


Please make sure not to miss post #6 in this thread
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 06-14-17, 04:06 PM   #9
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon7

Quote:
Originally Posted by gap View Post
Okay, I got it

When Wings creates an image plane, the plane is actually a flattened 6-faces polygon whose sides are so small that you dont even notice them. Those faces are not UV mapped, but S3d requires all the faces to have UV coordinates.
The quickest "fix" for your map polygon is as follows: ....
OK, it works. Now, I have the map in S3D !




Last edited by Kendras; 06-14-17 at 04:45 PM.
  Reply With Quote
Old 06-14-17, 04:22 PM   #10
the_frog
Commander
 
Join Date: Nov 2010
Posts: 456
Downloads: 17
Uploads: 0
Default

Hmmm, there is always something new to learn when reading those threads. I wasn't aware of the 6-face nature of image planes. Gentlemen, you keep me well entertained
the_frog is offline   Reply With Quote
Old 06-14-17, 05:07 PM   #11
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon10

First elements to be placed ! The hard part will be to connect all elements and to correct textures ...

  Reply With Quote
Old 06-14-17, 05:08 PM   #12
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
OK, it works. Now, I have the map in S3D !

Quote:
Originally Posted by Kendras View Post
First elements to be placed ! The hard part will be to connect all elements and to correct textures ...
Brilliant!

Quote:
Originally Posted by the_frog View Post
Hmmm, there is always something new to learn when reading those threads. I wasn't aware of the 6-face nature of image planes.
I have just discovered it lol

Quote:
Originally Posted by the_frog View Post
Gentlemen, you keep me well entertained
So you do with us
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 06-14-17, 05:30 PM   #13
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Kendras View Post
The hard part will be to connect all elements and to correct textures ...
For example, in the harbour_kit.dat, there is a basic element which is 300x150 meters. I need 900x557 meters. The textures applied on it will be somewhat distorted !
  Reply With Quote
Old 06-14-17, 05:56 PM   #14
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Could you remind me how to make a symetrical dock ?

  Reply With Quote
Old 06-14-17, 06:36 PM   #15
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default WIP ...

U-bunkers, based on HanSolo's superpens.




Last edited by Kendras; 06-14-17 at 10:38 PM.
  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 05:14 AM.


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