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 10-16-13, 05:42 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by periunder View Post
This tool still unsucessfully extracts SH3 models. It doesn't extract the shader layer correctly.
What do you mean?

"This tool" has nothing to do with SH3 models. It only handles GR2 files...
gap is offline   Reply With Quote
Old 10-18-13, 02:26 PM   #2
periunder
In the Brig
 
Join Date: May 2013
Posts: 96
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
What do you mean?

"This tool" has nothing to do with SH3 models. It only handles GR2 files...
I apologize. Let me clarifiy.

I extracted GRf2 files from the interior of the type 7 in SH5, and wanted to insert them into SH3 using s3d. I was successful, with the base model coordinates, but not the shader coordinates. I tested the extracted interior models in several programs and they gave the same results, that the shader coordinates were corrupted. Do you know what the issue is?

I tried this a 6 months ago. Any new versions since?
periunder is offline   Reply With Quote
Old 10-18-13, 07:09 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by periunder View Post
I apologize.
No need for it: no offence taken. I was just trying to put things clear.

Quote:
Originally Posted by periunder View Post
I extracted GRf2 files from the interior of the type 7 in SH5, and wanted to insert them into SH3 using s3d. I was successful, with the base model coordinates, but not the shader coordinates. I tested the extracted interior models in several programs and they gave the same results, that the shader coordinates were corrupted. Do you know what the issue is?
Do you mean the AO texture mapping? Corrupted like this:

http://www.subsim.com/radioroom/show...postcount=3770
http://www.subsim.com/radioroom/show...=189818&page=7

Those posts refers to the opposite problem (I was trying to import some custom made meshes in a GR2 file), but maybe they could also apply to your case.

Which GR2 file/mesh did you try to export exactly?

Quote:
Originally Posted by periunder View Post
I tried this a 6 months ago. Any new versions since?
Unfortunately no
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 10-18-13 at 07:24 PM.
gap is offline   Reply With Quote
Old 10-20-13, 02:16 PM   #4
periunder
In the Brig
 
Join Date: May 2013
Posts: 96
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
No need for it: no offence taken. I was just trying to put things clear.



Do you mean the AO texture mapping? Corrupted like this:

http://www.subsim.com/radioroom/show...postcount=3770
http://www.subsim.com/radioroom/show...=189818&page=7

Those posts refers to the opposite problem (I was trying to import some custom made meshes in a GR2 file), but maybe they could also apply to your case.

Which GR2 file/mesh did you try to export exactly?



Unfortunately no
Yes the AO texture mapping. I believe it was all of the AO texture mapping that were corrupted in everything I was extracting. I was extracting everything in the aft torpedo room interior.
periunder is offline   Reply With Quote
Old 10-20-13, 02:30 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by periunder View Post
Yes the AO texture mapping. I believe it was all of the AO texture mapping that were corrupted in everything I was extracting. I was extracting everything in the aft torpedo room interior.
What were you useing to extract the meshes?


If you mean the Room_TRF.gr2 I get perfect exports myself.
  Reply With Quote
Old 10-20-13, 03:19 PM   #6
periunder
In the Brig
 
Join Date: May 2013
Posts: 96
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by privateer View Post

If you mean the Room_TRF.gr2 I get perfect exports myself.
A little heads up for you in the future: "TRF" stands for "torpedo room fore".

Thought you might want to know that, before you start prophesying to everyone that TRF is the aft torpedo room.
periunder is offline   Reply With Quote
Old 10-20-13, 03:29 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by periunder View Post
A little heads up for you in the future: "TRF" stands for "torpedo room fore".

Thought you might want to know that, before you start prophesying to everyone that TRF is the aft torpedo room.
I didn't prophesize anything. I simply misread the posts.
Fix your own problem then as I'll not offer you help any longer.


Good luck as I can tell you'll need a boat load of it!
  Reply With Quote
Old 10-20-13, 03:26 PM   #8
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

OK. Back to the redundant verts in the GR2 files...........
If you look at the way the verts are coded into the GR2 files you see 2 texture channels.
1 is the main texture the other the AO.
Now both have the same number of verts but different number of texture coords.
They must all go in the same place so a way to match numbers is used.
By adding redundant verts those numbers are made to match.

I'd suspect the granny engine can decide which are just placer verts and discards them on the fly.

On exporting the meshes from the GR2 we see a file size that gets reduced if we use many of the 3D programs to import then export with no changes.
the reason is most programs optimize the obj and dump those extra placer verts.
Some 3D programs even warn that there are extra verts on import.
And then proceed to dump them.

Do you follow me so far?
  Reply With Quote
Old 10-20-13, 03:29 PM   #9
periunder
In the Brig
 
Join Date: May 2013
Posts: 96
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by privateer View Post
OK. Back to the redundant verts in the GR2 files...........
If you look at the way the verts are coded into the GR2 files you see 2 texture channels.
1 is the main texture the other the AO.
Now both have the same number of verts but different number of texture coords.
They must all go in the same place so a way to match numbers is used.
By adding redundant verts those numbers are made to match.

I'd suspect the granny engine can decide which are just placer verts and discards them on the fly.

On exporting the meshes from the GR2 we see a file size that gets reduced if we use many of the 3D programs to import then export with no changes.
the reason is most programs optimize the obj and dump those extra placer verts.
Some 3D programs even warn that there are extra verts on import.
And then proceed to dump them.

Do you follow me so far?
Yes. Are the extra verticals a problem with exporting into s3d?
periunder is offline   Reply With Quote
Old 10-20-13, 03:34 PM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
Do you follow me so far?
Thank you privateer, your explanations make perfect sense now. Is there an easy way for matching again diffuse and AO texture coordinates?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   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 05:01 PM.


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